hwmon: (lm75) added error handling
authorFrans Meulenbroeks <fransmeulenbroeks@gmail.com>
Tue, 3 Jan 2012 11:02:40 +0000 (12:02 +0100)
committerGuenter Roeck <guenter.roeck@ericsson.com>
Thu, 5 Jan 2012 16:19:33 +0000 (08:19 -0800)
Add error handling so if lm75_update_device fails
an error is returned when reading the value through sysfs.
This is closely modeled after the way this is handled in ltc4261.

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

Simple merge