Skip to contentSkip to conversation

hwmon: (it87) Save fan registers in 2-dimensional array

PATCH Jean Delvare 1 participant 1 message Oct 30, 2012

lore
Share & tools
lore

Jean Delvare

author Applied
#0 lore raw
Quoted 5 lines · Guenter Roeck

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.

Quoted 8 lines

---
v3: s/S_IRUGOWU/S_IRUGO | S_IWUSR/
Reverse has_16bit_fans() logic in set_fan()
v2: Drop has_16bit_fans flag, since we'll deal with it in patch 8/8.

 drivers/hwmon/it87.c |  263 ++++++++++++++++++++------------------------------
 1 file changed, 104 insertions(+), 159 deletions(-)

(...)

Applied, thanks.

Signature · 6 lines
Jean Delvare

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors