hwmon: (lm90) Use generic i2c reads during detection
authorJean Delvare <khali@linux-fr.org>
Sun, 25 Nov 2007 20:58:21 +0000 (21:58 +0100)
committerMark M. Hoffman <mhoffman@lightlink.com>
Fri, 8 Feb 2008 01:39:41 +0000 (20:39 -0500)
commite0ae87a49cf3e721313bf8942299f3f140c6963c
tree3c0bb9dbfed442835da5a8432fb179170432c9f9
parent72240307e988627df46553846936aa89a0f6a283
hwmon: (lm90) Use generic i2c reads during detection

As indirectly reported by Olof Johansson, the lm90 driver uses a
custom i2c read function even during detection, at which point we
don't know yet what device we're talking with. It would make more
sense to only use the generic i2c read function at this point, so
that we don't log irrelevant errors on misdetection.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Mark M. Hoffman <mhoffman@lightlink.com>
drivers/hwmon/lm90.c