]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb8de05bf4cd4af3a84cbdc3bf84cc0b6ba50a905
treeed0051f873da553c1aa8f7d63a43d8dbea33ac97
parent8f4db492e80706488ffdce3fee4affa4786e623c
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