hwmon: (w83627hf) push nr+1 offset into *_REG_FAN macros and simplify
commit2ca2fcd124c00a5e733fb0206ef106fade9a76a4
authorJim Cromie <jim.cromie@gmail.com>
Sun, 14 Oct 2007 23:20:50 +0000 (14 17:20 -0600)
committerMark M. Hoffman <mhoffman@lightlink.com>
Thu, 8 Nov 2007 13:42:45 +0000 (8 08:42 -0500)
treea1e3b46c6e653d1fc66a281fe8bc8dc79ee60d53
parentdf48ed804f44a040e990976b537efc1e133c74d8
hwmon: (w83627hf) push nr+1 offset into *_REG_FAN macros and simplify

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@gmail.com>
Acked-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Mark M. Hoffman <mhoffman@lightlink.com>
drivers/hwmon/w83627hf.c