]> git.baikalelectronics.ru Git - kernel.git/commit
hwmon: (axi-fan-control) Use hwmon_notify_event
authorNuno Sá <nuno.sa@analog.com>
Tue, 8 Mar 2022 13:54:08 +0000 (14:54 +0100)
committerGuenter Roeck <linux@roeck-us.net>
Tue, 8 Mar 2022 17:20:00 +0000 (09:20 -0800)
commit9ab1c14446d1c987fdaf9faf9b670fe9262e41b2
tree700df81a533bcb14c1eb58e9740c136560b41899
parent6e8c712e7b40850a081821e88e5052605f1523f2
hwmon: (axi-fan-control) Use hwmon_notify_event

Instead of directly accessing kobj directly from the driver, use the
hwmon notify API.

Signed-off-by: Nuno Sá <nuno.sa@analog.com>
Link: https://lore.kernel.org/r/20220308135408.440744-1-nuno.sa@analog.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/axi-fan-control.c