]> 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>
Mon, 5 Nov 2012 22:54:46 +0000 (09:54 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 5 Nov 2012 22:54:46 +0000 (09:54 +1100)
commite90c550eec487848233fb70d83080ef257c18ab4
treea40bceb06a4b19655516a21e4ad3f2e72abad0c4
parent160fe501e42092bf7821f53f83ebe88ea20c8213
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