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)
commitc3963bc0a0cf9ecb205a9d4976eb92b6df2fa3fd
tree37877c3a0be95edac62fd6abf24fcdc32e9335f9
parentae0d7227741f6791f056f906625ffbd5fe95fb2c
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]