]> 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>
Tue, 13 Nov 2012 23:31:29 +0000 (10:31 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 13 Nov 2012 23:31:29 +0000 (10:31 +1100)
commit68c9c45a4f0a20cd8608c5875b40e8ea90a975b1
treeae5bf8a26f5aedd09816eae103e8595a5a10a21a
parent8fcfb776660e9d737c9e1be9cc06b6aa725e3b65
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