]> git.baikalelectronics.ru Git - kernel.git/commit
hwmon: (w83627hf) Don't touch nonexistent I2C address registers
authorJean Delvare <khali@linux-fr.org>
Wed, 19 Dec 2012 21:17:00 +0000 (22:17 +0100)
committerJean Delvare <khali@endymion.delvare>
Wed, 19 Dec 2012 21:17:00 +0000 (22:17 +0100)
commitb70d1d228a62736104cb2ee695351b465214257d
tree9cbb66aade67d1550a25101e8b75d9c65d7b6159
parent04369835bc7a6af0301de269587f221e59c5814c
hwmon: (w83627hf) Don't touch nonexistent I2C address registers

Only the W83627HF could be accessed through I2C. All other supported
chips are LPC-only, so they do not have I2C address registers. Don't
write to nonexistent or reserved registers on these chips.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Acked-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/w83627hf.c