commit | 3499e5b2e14b792fe411302fea3b6fcc4ba40ef2 | [log] [tgz] |
---|---|---|
author | Sachin Kamat <sachin.kamat@linaro.org> | Wed Sep 11 09:49:50 2013 +0530 |
committer | Guenter Roeck <linux@roeck-us.net> | Wed Sep 11 13:01:40 2013 -0700 |
tree | 2f5091c35d0b628d20f5963757e41a448fcc7318 | |
parent | 12ca0b569eac0bf8389b3eac74ba1d7e9f624ab8 [diff] |
hwmon: (amc6821) Fix return value Propagate return value obtained from i2c_smbus_read_byte_data() instead of hardcoding. Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> Cc: T. Mertelj <tomaz.mertelj@guest.arnes.si> Signed-off-by: Guenter Roeck <linux@roeck-us.net>