commit | c91fd91d686654f8afbbbca18f5ff0a6ebc9c7a2 | [log] [tgz] |
---|---|---|
author | Sachin Kamat <sachin.kamat@linaro.org> | Tue Nov 12 15:10:26 2013 -0800 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Wed Nov 13 12:09:27 2013 +0900 |
tree | 4b0c363fe12b653afd9eabd426dedb816801a23d | |
parent | 50ccf0455e51eba51e645b3724c8e932c75774b1 [diff] |
drivers/rtc/rtc-isl1208.c: remove redundant checks i2c_smbus_read_byte_data() returns negative errno on failure. Return the value obtained from it directly. Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> Cc: Herbert Valerio Riedel <hvr@gnu.org> Cc: Jingoo Han <jg1.han@samsung.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>