]> git.baikalelectronics.ru Git - kernel.git/commit
hwmon: (lm90) fix temp1_max_alarm attribute
authorMichael Walle <michael@walle.cc>
Mon, 2 Jan 2017 16:53:39 +0000 (17:53 +0100)
committerGuenter Roeck <linux@roeck-us.net>
Mon, 2 Jan 2017 18:15:28 +0000 (10:15 -0800)
commitf1a83fd811ea0b6bcf46fd6ca530ccd6b757e0f1
tree58c83e98ef9c72d0c704f381cc44253b5afa9242
parent890fcdd64047a0c9120b237799b69c2be8831d35
hwmon: (lm90) fix temp1_max_alarm attribute

Since commit commit 45635e25d945 ("hwmon: (lm90) Convert to use new hwmon
registration API") the temp1_max_alarm and temp1_crit_alarm attributes are
mapped to the same alarm bit. Fix the typo.

Fixes: 45635e25d945 ("hwmon: (lm90) Convert to use new hwmon registration API")
Signed-off-by: Micehael Walle <michael@walle.cc>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/lm90.c