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 08:19:33 -0800 |
commit | 1f962f363b762887d8f9057598b6acacf9e80234 (patch) | |
tree | 7b8154fc56cdd6cfab6e0125fdff4451dea48047 /drivers/hwmon/adt7470.c | |
parent | aac9fe9b4697868009e752562e743cc7984809bc (diff) |
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/adt7470.c')
0 files changed, 0 insertions, 0 deletions