summaryrefslogtreecommitdiffstats
path: root/samples/kfifo
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-11-12 15:10:27 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2013-11-13 12:09:27 +0900
commitf16189aca0e2c6395e7fd6593c3a3063764c628d (patch)
tree8b972de16aba5afa57006f4fbab2eeec085539a6 /samples/kfifo
parentc91fd91d686654f8afbbbca18f5ff0a6ebc9c7a2 (diff)
downloadlinux-stable-f16189aca0e2c6395e7fd6593c3a3063764c628d.tar.gz
linux-stable-f16189aca0e2c6395e7fd6593c3a3063764c628d.tar.bz2
linux-stable-f16189aca0e2c6395e7fd6593c3a3063764c628d.zip
drivers/rtc/rtc-max6900.c: remove redundant checks
i2c_smbus_write_byte_data() returns negative errno on failure or 0 on success. Return the value obtained from it directly. Signed-off-by: Sachin Kamat <sachin.kamat@linaro.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 'samples/kfifo')
0 files changed, 0 insertions, 0 deletions