hwmon: (lm90) Fix sysfs and udev notifications
authorGuenter Roeck <linux@roeck-us.net>
Tue, 11 Jan 2022 07:23:31 +0000 (23:23 -0800)
committerGuenter Roeck <linux@roeck-us.net>
Wed, 12 Jan 2022 01:07:38 +0000 (17:07 -0800)
commita7e54735ac4398285215ee263638cea0435c80ee
treece154e035192939be9733105a318c39e6cabefb2
parent6e65410340c0d29053fa6ea5ba1261bd89cae028
hwmon: (lm90) Fix sysfs and udev notifications

sysfs and udev notifications need to be sent to the _alarm
attributes, not to the value attributes.

Fixes: 94dbd23ed88c ("hwmon: (lm90) Use hwmon_notify_event()")
Cc: Dmitry Osipenko <digetx@gmail.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/lm90.c