]> git.baikalelectronics.ru Git - kernel.git/commit
hwmon: (adt7x10) Use hwmon_notify_event
authorCosmin Tanislav <cosmin.tanislav@analog.com>
Tue, 21 Dec 2021 21:58:41 +0000 (23:58 +0200)
committerGuenter Roeck <linux@roeck-us.net>
Mon, 28 Feb 2022 01:03:18 +0000 (17:03 -0800)
commitc67fc34695e63d268e8d7141317530b72039f49c
tree29177eae9b7371d5f7129184ed58a5006f324bf5
parentda336ed12360de18190287aed869e3cbb9af3ce3
hwmon: (adt7x10) Use hwmon_notify_event

The hwmon subsystem provides means of notifying userspace
about events. Use it.

Signed-off-by: Cosmin Tanislav <cosmin.tanislav@analog.com>
Link: https://lore.kernel.org/r/20211221215841.2641417-8-demonsingur@gmail.com
[groeck: Pass hwmon device to interrupt handler]
Tested-by: Cosmin Tanislav <cosmin.tanislav@analog.com>
Reviewed-by: Cosmin Tanislav <cosmin.tanislav@analog.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/adt7x10.c