commit | 8f8c1fb0c829278b889588da211a5a557518b06c | [log] [tgz] |
---|---|---|
author | Darrick J. Wong <djwong@us.ibm.com> | Tue Jan 06 14:41:31 2009 -0800 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Tue Jan 06 15:59:18 2009 -0800 |
tree | 551ad7728438ec885de76db4c7c776f88589a219 | |
parent | 57b9c6d9c5074a06fda770a7f009d655593e0e29 [diff] |
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>