]> git.karo-electronics.de Git - karo-tx-linux.git/commit
drivers/rtc/rtc-m41t80.c: propagate error value from smbus functions
authorWolfram Sang <wsa@sang-engineering.com>
Thu, 22 May 2014 00:43:48 +0000 (10:43 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 22 May 2014 00:43:48 +0000 (10:43 +1000)
commitda8cca8f974ec4a888a0aa57e4c16cc398ee7f9d
tree05122f32b71c785ec1de72077cab04cba9809289
parentee931190052324d9cdf3d24626e3f8eb7ba783fb
drivers/rtc/rtc-m41t80.c: propagate error value from smbus functions

Don't replace the value we got from the I2C layer, just pass it on.

Signed-off-by: Wolfram Sang <wsa@sang-engineering.com>
Cc: Jingoo Han <jg1.han@samsung.com>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/rtc/rtc-m41t80.c