hwmon: (occ) Move common code to a separate module
Instead of duplicating the common code into the 2 (binary) drivers, move the common code to a separate module. This is cleaner. Signed-off-by:Jean Delvare <jdelvare@suse.de> Cc: Eddie James <eajames@linux.ibm.com> Cc: Guenter Roeck <linux@roeck-us.net> Reviewed-by:
Eddie James <eajames@linux.ibm.com> Tested-by:
Eddie James <eajames@linux.ibm.com> Signed-off-by:
Guenter Roeck <linux@roeck-us.net>
Showing
- drivers/hwmon/occ/Kconfig 1 addition, 2 deletionsdrivers/hwmon/occ/Kconfig
- drivers/hwmon/occ/Makefile 4 additions, 2 deletionsdrivers/hwmon/occ/Makefile
- drivers/hwmon/occ/common.c 7 additions, 0 deletionsdrivers/hwmon/occ/common.c
- drivers/hwmon/occ/sysfs.c 2 additions, 0 deletionsdrivers/hwmon/occ/sysfs.c
Please register or sign in to comment