]> git.karo-electronics.de Git - karo-tx-linux.git/commit
hwmon: (it87) Save fan registers in 2-dimensional array
authorGuenter Roeck <linux@roeck-us.net>
Sun, 11 Nov 2012 22:51:34 +0000 (09:51 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Sun, 11 Nov 2012 22:51:34 +0000 (09:51 +1100)
commit4b38a7edc4a5aae25c097995c54bb29c0b3d6db2
tree5f52716291f04b34609c66622dab4cab08006e96
parentad774c9e80a7a9949e03d06e942b61f2907d6d29
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