]> 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)
commit07972dc0c896b099215617861a2514795c138870
tree37877c3a0be95edac62fd6abf24fcdc32e9335f9
parent9b7bc96b39aa5747f735c3c5d6db3c30a7867fbe
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]