hwmon: (nct6775) Separate fan/pwm configuration detection for NCT6793D
authorGuenter Roeck <linux@roeck-us.net>
Tue, 18 Sep 2018 18:03:25 +0000 (11:03 -0700)
committerGuenter Roeck <linux@roeck-us.net>
Thu, 11 Oct 2018 03:37:13 +0000 (20:37 -0700)
commit2d99925a15b639026b67bd96419df6f9d760b212
treeb851831ab6377cdc67c5825446798998637d3975
parent7dcdbdeb1b45b9071ad986bf20d8c2da6a057eb6
hwmon: (nct6775) Separate fan/pwm configuration detection for NCT6793D

While detecting the configuration for multiple chips in one go reduces
code size, it also increases code complexity. Separate chip detection
to improve code readability. As first step, separate detection for
NCT6793D.

No functional change.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/nct6775.c