hwmon: (it87) Save fan registers in 2-dimensional array
authorGuenter Roeck <linux@roeck-us.net>
Wed, 19 Dec 2012 21:17:01 +0000 (22:17 +0100)
committerJean Delvare <khali@endymion.delvare>
Wed, 19 Dec 2012 21:17:01 +0000 (22:17 +0100)
commite1169ba0aea187d0ea15d6f98bc818cab37335e5
treeed0051f873da553c1aa8f7d63a43d8dbea33ac97
parent161d898ac974818156afe48d755578bfd0d6e7c0
hwmon: (it87) Save fan registers in 2-dimensional array

Also unify fan functions to use the same code for 8 and 16 bit fans.

This patch reduces code size by approximately 1,200 bytes on x86_64.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
drivers/hwmon/it87.c