diff options
author | John Klug <john.klug@multitech.com> | 2020-03-11 12:04:25 -0500 |
---|---|---|
committer | John Klug <john.klug@multitech.com> | 2020-03-11 12:04:25 -0500 |
commit | ee7303faf58c120db4819dfa69b4597346115de4 (patch) | |
tree | c2c1f33ed763434c8c2979180d9251c7ea83106b | |
parent | 1bd66102ac3f7208f63722bef752b228b63d03a8 (diff) | |
download | mts-io-ee7303faf58c120db4819dfa69b4597346115de4.tar.gz mts-io-ee7303faf58c120db4819dfa69b4597346115de4.tar.bz2 mts-io-ee7303faf58c120db4819dfa69b4597346115de4.zip |
Remove mts_io_board_adc_probe code which is broken4.3.2
-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 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) |