]> 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>
Wed, 31 Oct 2012 23:18:30 +0000 (10:18 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 31 Oct 2012 23:43:04 +0000 (10:43 +1100)
commit2b684ef1c9071fbd6cc269d8c913a5ca2ee91f67
tree4cc85da9d11e68a8f4c36e0b53d831367f0e0733
parent1825702057a2cd9fd8f48d4c770171c927a2865b
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