]> 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)
commit1a50a92b382fa1e3717d9e468f36e1c13b7770ba
tree9cbb66aade67d1550a25101e8b75d9c65d7b6159
parent76f73cb1647b2246ae9ae94022ef5dc2d954d30c
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