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>
Mon, 24 Jan 2022 02:21:27 +0000 (18:21 -0800)
commitd379880d9adb9f1ada3f1266aa49ea2561328e08
treedb043f0da58b8e348f607acdd4d675b3c9102d2e
parentf614629f9c1080dcc844a8430e3fb4c37ebbf05d
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