hwmon: (it87) Avoid registering the same chip on both SIO addresses
authorGuenter Roeck <linux@roeck-us.net>
Sun, 12 Mar 2017 13:18:58 +0000 (06:18 -0700)
committerGuenter Roeck <linux@roeck-us.net>
Wed, 22 Mar 2017 07:18:21 +0000 (00:18 -0700)
commit8358378b22518d92424597503d3c1cd302a490b6
tree8f17406551897dddcf6af9f1e9b62e5a74181cc4
parentdd7406dd334a98ada3ff5371847a3eeb4ba16313
hwmon: (it87) Avoid registering the same chip on both SIO addresses

IT8705F is known to respond on both SIO addresses. Registering it twice
may result in system lockups.

Reported-by: Russell King <linux@armlinux.org.uk>
Fixes: e84bd9535e2b ("hwmon: (it87) Add support for second Super-IO chip")
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/it87.c