summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Klug <john.klug@multitech.com>2020-03-11 12:04:25 -0500
committerJohn Klug <john.klug@multitech.com>2020-10-16 10:24:18 -0500
commitca8b45e8bba398b2b07ecebda114eef263f257bf (patch)
tree19f2a33e0a0e0b1536827656c3bad30ffd3eb607
parent4de250d90d313e77367108b11858151bfeed1eb2 (diff)
downloadmts-io-ca8b45e8bba398b2b07ecebda114eef263f257bf.tar.gz
mts-io-ca8b45e8bba398b2b07ecebda114eef263f257bf.tar.bz2
mts-io-ca8b45e8bba398b2b07ecebda114eef263f257bf.zip
Remove mts_io_board_adc_probe code which is broken4.3.2a
-rw-r--r--io-module/mts-io.c16
1 files changed, 1 insertions, 15 deletions
diff --git a/io-module/mts-io.c b/io-module/mts-io.c
index d64673e..53e30a0 100644
--- a/io-module/mts-io.c
+++ b/io-module/mts-io.c
@@ -77,23 +77,9 @@ static struct mts_id_eeprom_layout id_eeprom;
#include "adc.c"
-/*
- * We must call platform_set_drvdata, or else the
- * devres_head for the driver has junk in it, and
- * this causes warning stack dumps in dd.c,
- * really_probe() function.
- *
- * priv is the private data structure for the driver,
- * and could be used by our driver, but for now,
- * it is unused.
- */
static int mts_io_probe(struct platform_device *pdev)
{
- int ret = 0;
- if (!DEVICE_CAPA(id_eeprom.capa, CAPA_ADC)) {
- ret = mts_io_board_adc_probe(pdev);
- }
- return ret;
+ return 0;
}
static int mts_io_remove(struct platform_device *pdev)