There is no reason to treat the IT8705F differently during device
detection. If a single IT8705F chip indeed answers to both Super-IO
addresses, we have code in place to detect the duplicate device
address and skip the second one.

Signed-off-by: Jean Delvare <jdelv...@suse.de>
Cc: Russell King <li...@armlinux.org.uk>
Cc: Guenter Roeck <li...@roeck-us.net>
---
 drivers/hwmon/it87.c |    7 -------
 1 file changed, 7 deletions(-)

--- linux-4.11.orig/drivers/hwmon/it87.c        2017-05-01 04:47:48.000000000 
+0200
+++ linux-4.11/drivers/hwmon/it87.c     2017-05-04 11:17:49.868328706 +0200
@@ -3224,13 +3224,6 @@ static int __init sm_it87_init(void)
                        goto exit_dev_unregister;
 
                found = true;
-
-               /*
-                * IT8705F may respond on both SIO addresses.
-                * Stop probing after finding one.
-                */
-               if (sio_data.type == it87)
-                       break;
        }
 
        if (!found) {


-- 
Jean Delvare
SUSE L3 Support
--
To unsubscribe from this list: send the line "unsubscribe linux-hwmon" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to