hwmon: (lm90) fix temp1_max_alarm attribute
authorMichael Walle <michael@walle.cc>
Mon, 2 Jan 2017 16:53:39 +0000 (17:53 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 12 Jan 2017 10:39:26 +0000 (11:39 +0100)
commit584cb7dd15a3779a8f9a4ac2ec117f1f73bda83d
treef63dc7d8ec956206c1d2ec152a18baabd42f0ae2
parent2aca9a4fe104e6e8d7ddca7042fe6d5379ead7f9
hwmon: (lm90) fix temp1_max_alarm attribute

commit e9572fdd13e299cfba03abbfd2786c84ac055249 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/hwmon/lm90.c