hwmon: (lm85) Clean up the handling of additional resolution bits
authorJean Delvare <khali@linux-fr.org>
Thu, 5 Jul 2007 18:38:32 +0000 (20:38 +0200)
committerMark M. Hoffman <mhoffman@lightlink.com>
Wed, 10 Oct 2007 02:56:30 +0000 (22:56 -0400)
commit5a4d3ef317c845893fe3f9d3517cb0a99375da53
tree3e1b29b3ef889d160f8cc29e5d534bd5f7a79464
parentbf76e9d3c42fae879feabe26a10bf8ebf27ab328
hwmon: (lm85) Clean up the handling of additional resolution bits

The way the lm85 driver currently handles the additional resolution
bits some chips have for the voltage and temperature measurements is
quite complex. This is my attempt to make it simpler.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Acked-by: Juerg Haefliger <juergh at gmail.com>
Signed-off-by: Mark M. Hoffman <mhoffman@lightlink.com>
drivers/hwmon/lm85.c