From ee7303faf58c120db4819dfa69b4597346115de4 Mon Sep 17 00:00:00 2001 From: John Klug Date: Wed, 11 Mar 2020 12:04:25 -0500 Subject: Remove mts_io_board_adc_probe code which is broken --- io-module/mts-io.c | 16 +--------------- 1 file changed, 1 insertion(+), 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) -- cgit v1.2.3