summaryrefslogtreecommitdiffstats
path: root/drivers/rtc/rtc-max6900.c
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-11-13 00:10:26 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2013-11-13 04:09:27 +0100
commitc91fd91d686654f8afbbbca18f5ff0a6ebc9c7a2 (patch)
tree4b0c363fe12b653afd9eabd426dedb816801a23d /drivers/rtc/rtc-max6900.c
parentdrivers/rtc/rtc-ds1307.c: release irq on error (diff)
downloadlinux-c91fd91d686654f8afbbbca18f5ff0a6ebc9c7a2.tar.xz
linux-c91fd91d686654f8afbbbca18f5ff0a6ebc9c7a2.zip
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>
Diffstat (limited to 'drivers/rtc/rtc-max6900.c')
0 files changed, 0 insertions, 0 deletions