diff options
author | Frans Meulenbroeks <fransmeulenbroeks@gmail.com> | 2012-01-03 12:02:40 +0100 |
---|---|---|
committer | Guenter Roeck <guenter.roeck@ericsson.com> | 2012-01-05 17:19:33 +0100 |
commit | 1f962f363b762887d8f9057598b6acacf9e80234 (patch) | |
tree | 7b8154fc56cdd6cfab6e0125fdff4451dea48047 /drivers/hwmon/gl520sm.c | |
parent | hwmon: (ltc4261) set data->valid to 0 if error (diff) | |
download | linux-1f962f363b762887d8f9057598b6acacf9e80234.tar.xz linux-1f962f363b762887d8f9057598b6acacf9e80234.zip |
hwmon: (lm75) added error handling
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>
Diffstat (limited to 'drivers/hwmon/gl520sm.c')
0 files changed, 0 insertions, 0 deletions