hwmon: (it87) Save fan registers in 2-dimensional array
Jean Delvare
AppliedQuoted 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.Signed-off-by Guenter Roeck <[email protected]>
Quoted 8 lines
---
v3: s/S_IRUGOWU/S_IRUGO | S_IWUSR/
Reversehas_16bit_fans()logic inset_fan()
v2: Drophas_16bit_fansflag, 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