]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb56cba154b04c0d16c4e9290431d5fe7487bd28a
treedb043f0da58b8e348f607acdd4d675b3c9102d2e
parent0133e877b4584f9f4d2caf62be8cde7171ef0d02
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: 2b12e8e0cd6a ("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