diff options
author | 2008-10-17 17:51:14 +0200 | |
---|---|---|
committer | 2008-10-17 17:51:14 +0200 | |
commit | 1b92adaddd7e96e1ba68d4f17a25747ab8057efe (patch) | |
tree | afaf38fe358948d2047264d0708cc2515aa07be7 /drivers/hwmon/lm78.c | |
parent | hwmon: (lm85) Convert to a new-style i2c driver (diff) | |
download | linux-dev-1b92adaddd7e96e1ba68d4f17a25747ab8057efe.tar.xz linux-dev-1b92adaddd7e96e1ba68d4f17a25747ab8057efe.zip |
hwmon: (lm85) Simplify RANGE_TO_REG
Function RANGE_TO_REG can easily be simplified. Credits go to Herbert
Poetzl for indirectly suggesting this to me. I tested that the new
implementation returns the same result as the original implementation
for all input values.
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Acked-by: Herbert Poetzl <herbert@13thfloor.at>
Diffstat (limited to 'drivers/hwmon/lm78.c')
0 files changed, 0 insertions, 0 deletions