[lm-sensors] [patch 1/1] w83627hf push nr+1 offset into *_REG_FAN macros and simplify
Jim Cromie
jim.cromie at gmail.com
Sat Oct 13 04:03:26 CEST 2007
patch changes 2 macros to incorporate the +1, and drops the +1 from
all the callers.
This also allows a 'reroll' of an expanded loop, and adjusting indexes
and loop limits
on another.
Signed-off-by: Jim Cromie <jim.cromie at gmail.com>
---
drivers/hwmon/w83627hf.c | 22 +++++++++++-----------
2 files changed, 11 insertions(+), 11 deletions(-)
this gives a small shrink : 22 bytes on i686
12850 2652 36 15538 3cb2 hwmon-hf-1/drivers/hwmon/w83627hf.ko
12818 2652 36 15506 3c92 hwmon-hf-2/drivers/hwmon/w83627hf.ko
-------------- next part --------------
A non-text attachment was scrubbed...
Name: diff.hwmon-w83627hf-fan-offset-into-macro
Type: application/octet-stream
Size: 2710 bytes
Desc: not available
Url : http://lists.lm-sensors.org/pipermail/lm-sensors/attachments/20071012/c26a1a7e/attachment.obj
More information about the lm-sensors
mailing list