]> asedeno.scripts.mit.edu Git - linux.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)
commite9572fdd13e299cfba03abbfd2786c84ac055249
tree58c83e98ef9c72d0c704f381cc44253b5afa9242
parent0c744ea4f77d72b3dcebb7a8f2684633ec79be88
hwmon: (lm90) fix temp1_max_alarm attribute

Since commit commit eb1c8f4325d5 ("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: eb1c8f4325d5 ("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