diff options
author | John Klug <john.klug@multitech.com> | 2020-03-11 12:04:25 -0500 |
---|---|---|
committer | John Klug <john.klug@multitech.com> | 2020-10-14 13:58:04 -0500 |
commit | 1609827026eb05e58f4a4b3349b9d508b53e19a7 (patch) | |
tree | 19f2a33e0a0e0b1536827656c3bad30ffd3eb607 | |
parent | a7793f55d10094c82e2567dbb2f64f562143df81 (diff) | |
download | mts-io-1609827026eb05e58f4a4b3349b9d508b53e19a7.tar.gz mts-io-1609827026eb05e58f4a4b3349b9d508b53e19a7.tar.bz2 mts-io-1609827026eb05e58f4a4b3349b9d508b53e19a7.zip |
Remove mts_io_board_adc_probe code which is broken
-rw-r--r-- | io-module/mts-io.c | 16 |
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) |