[lm-sensors] [PATCH] hwmon: (lm90) Use generic i2c reads during detection

Mark M. Hoffman mhoffman at lightlink.com
Sun Nov 25 02:53:58 CET 2007


Hi Jean:

* Jean Delvare <khali at linux-fr.org> [2007-10-25 00:05:43 +0200]:
> 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 at linux-fr.org>
> ---
>  drivers/hwmon/lm90.c |   24 ++++++++++++------------
>  1 file changed, 12 insertions(+), 12 deletions(-)

Applied to hwmon-2.6.git/testing, thanks.

-- 
Mark M. Hoffman
mhoffman at lightlink.com





More information about the lm-sensors mailing list