OSDN Git Service

hwmon: (nct6775) Use NUM_FAN consistently
authorGuenter Roeck <linux@roeck-us.net>
Wed, 21 Feb 2018 21:09:36 +0000 (13:09 -0800)
committerGuenter Roeck <linux@roeck-us.net>
Sun, 11 Mar 2018 03:00:14 +0000 (19:00 -0800)
commite2617262f14b8b9eaa44b3dc1bf0cd573fcfc275
tree62de16baf8e5201cdef1f63d6317ecf784584b1f
parent47591baa713cb23db7ea012bc1710f58efc14abf
hwmon: (nct6775) Use NUM_FAN consistently

The size of some of the arrays using the number of fans is hardcoded.
Use NUM_FAN consistently throughout the driver.

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