hwmon: (lm90) Use hwmon_notify_event()
authorDmitry Osipenko <digetx@gmail.com>
Fri, 18 Jun 2021 21:54:53 +0000 (00:54 +0300)
committerGuenter Roeck <linux@roeck-us.net>
Sat, 19 Jun 2021 11:09:49 +0000 (04:09 -0700)
commit94dbd23ed88ce70d7baacfa20d21bc0070d1a8da
treeb8f16dcc73e22d55886bcd4329db6a44e5a6e13d
parentd97fb837b8cce400892e7f0ccf4755edb225ad36
hwmon: (lm90) Use hwmon_notify_event()

Use hwmon_notify_event() to notify userspace and thermal core about
temperature changes.

Suggested-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/lm90.c