hwmon: (nct7904) Fix the incorrect quantity for fan & temp attributes
authorAmy Shih <amy.shih@advantech.com.tw>
Thu, 12 Mar 2020 02:49:34 +0000 (02:49 +0000)
committerGuenter Roeck <linux@roeck-us.net>
Sun, 15 Mar 2020 13:36:34 +0000 (06:36 -0700)
commit02fc3c7cc73c7ebefbbe88ce6d9447577c4f6127
treecf0dc30703ed18ee394328378e7d874524ec572c
parent6a096871b2bedd524ce706aa687de4f7145f535c
hwmon: (nct7904) Fix the incorrect quantity for fan & temp attributes

nct7904d supports 12 fan tachometers input and 13 temperatures
(TEMP_CH1~4 and LTD + DTS TCPU1~8), fix the quantity for fan & temp
attributes.

Signed-off-by: Amy Shih <amy.shih@advantech.com.tw>
Link: https://lore.kernel.org/r/20200312024934.3533-1-Amy.Shih@advantech.com.tw
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/nct7904.c