summaryrefslogtreecommitdiff
path: root/io-module/mts-io.c
diff options
context:
space:
mode:
Diffstat (limited to 'io-module/mts-io.c')
-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 f9ce122..5897da7 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)