adt74{62, 70, 73}: Use DIV_ROUND_CLOSEST for rounded division
authorDarrick J. Wong <djwong@us.ibm.com>
Tue, 6 Jan 2009 22:41:31 +0000 (14:41 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 6 Jan 2009 23:59:18 +0000 (15:59 -0800)
commit8f8c1fb0c829278b889588da211a5a557518b06c
tree551ad7728438ec885de76db4c7c776f88589a219
parent57b9c6d9c5074a06fda770a7f009d655593e0e29
adt74{62, 70, 73}: Use DIV_ROUND_CLOSEST for rounded division

Modify some hwmon drivers to use DIV_ROUND_CLOSEST instead of bloating
source with (naughty) macros.

Signed-off-by: Darrick J. Wong <djwong@us.ibm.com>
Cc: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/hwmon/adt7462.c
drivers/hwmon/adt7470.c
drivers/hwmon/adt7473.c