]> git.baikalelectronics.ru Git - kernel.git/commit
hwmon: (nct6775) Split core and platform driver
authorZev Weiss <zev@bewilderbeest.net>
Wed, 27 Apr 2022 01:01:53 +0000 (18:01 -0700)
committerGuenter Roeck <linux@roeck-us.net>
Fri, 20 May 2022 17:57:06 +0000 (10:57 -0700)
commitcc9732b7db322d5aa4946f11126eccd6995e777d
tree37877c3a0be95edac62fd6abf24fcdc32e9335f9
parentc1cf97ea880ad6794a70d7f003d5f89f1f67ebd6
hwmon: (nct6775) Split core and platform driver

This splits the nct6775 driver into an interface-independent core and
a separate platform driver that wraps inb/outb port I/O (or asuswmi
methods) around that core.

Signed-off-by: Zev Weiss <zev@bewilderbeest.net>
Tested-by: Renze Nicolai <renze@rnplus.nl>
Link: https://lore.kernel.org/r/20220427010154.29749-7-zev@bewilderbeest.net
Tested-by: Oleksandr Natalenko <oleksandr@natalenko.name>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
MAINTAINERS
drivers/hwmon/Kconfig
drivers/hwmon/Makefile
drivers/hwmon/nct6775-core.c [new file with mode: 0644]
drivers/hwmon/nct6775-platform.c [new file with mode: 0644]
drivers/hwmon/nct6775.c [deleted file]
drivers/hwmon/nct6775.h [new file with mode: 0644]