hwmon: (it87) Add support for all pwm channels on IT8620E
authorGuenter Roeck <linux@roeck-us.net>
Fri, 27 Mar 2015 01:18:19 +0000 (18:18 -0700)
committerGuenter Roeck <linux@roeck-us.net>
Tue, 19 Apr 2016 13:32:35 +0000 (06:32 -0700)
commit36c4d98a7883d4c51252d0f4ebf2c667fa7f879f
treed2e1421db3d9c2cbf4b219140189be1cf09c2f2e
parent730554059bf26ab7a4f2cab8ed96e840a03d9b40
hwmon: (it87) Add support for all pwm channels on IT8620E

IT8620E supports up to 6 pwm channels. Add support for it.
Also check if fan tachometers 4..6 are enabled before instantiating
the respective sysfs attributes.

Tested-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/it87.c