hwmon: (lm80) add error handling
authorFrans Meulenbroeks <fransmeulenbroeks@gmail.com>
Thu, 5 Jan 2012 13:41:53 +0000 (14:41 +0100)
committerGuenter Roeck <guenter.roeck@ericsson.com>
Mon, 19 Mar 2012 01:26:27 +0000 (18:26 -0700)
commit2faaa9316cc5556bb3d7d0d91720820434c317ba
treec4c39ddfcd6b59d058c91b46029c1fb755f98368
parentc16fa4f2ad19908a47c63d8fa436a1178438c7e7
hwmon: (lm80) add error handling

The LM80 driver currently does not return errors after I2C access failures.
Add it.

Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>
drivers/hwmon/lm80.c