Skip to content

Commit

Permalink
hwmon: (it87) Save fan registers in 2-dimensional array
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Guenter Roeck authored and Jean Delvare committed Dec 19, 2012
1 parent 161d898 commit e1169ba
Showing 1 changed file with 104 additions and 159 deletions.
Loading

0 comments on commit e1169ba

Please sign in to comment.