]> 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)
commitf37dda6ae8af18b28ffb1ac2ab6a0fe513c03234
treeed0051f873da553c1aa8f7d63a43d8dbea33ac97
parentf769002a00b2890ffe39e9cd6064c045770cd727
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