hwmon: (nct6796) Clean up and amend fan/pwm configuration for NCT6796D
authorGuenter Roeck <linux@roeck-us.net>
Wed, 19 Sep 2018 03:21:40 +0000 (20:21 -0700)
committerGuenter Roeck <linux@roeck-us.net>
Thu, 11 Oct 2018 03:37:13 +0000 (20:37 -0700)
commit3fdb06aff5044ad4ac3c2895d7869b85dadb23b6
tree71664058c87840c7fdf12159f89b2dd8cb82fda9
parentb75a806389901efa93c355238f787d922ba074b3
hwmon: (nct6796) Clean up and amend fan/pwm configuration for NCT6796D

Now that everything is separated, clean up fan and pwm configuration
for NCT6796D. While doing that, take the forgotten configuration register
cre0 into account to determine if AUXFANIN2 (fan5) and AUXFANOUT2 (pwm5)
are connected.

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