drivers/rtc/rtc-m41t80.c: propagate error value from smbus functions
authorWolfram Sang <[email protected]>
Fri, 6 Jun 2014 21:35:46 +0000 (14:35 -0700)
committerLinus Torvalds <[email protected]>
Fri, 6 Jun 2014 23:08:07 +0000 (16:08 -0700)
commit85d77047c4eaa247bc19a581dba968571dd87e55
treeb5e979cdd69e0e029b4ce6c194a2614c2aa9bfc5
parentc67fedfab2d29de88a62282e0633d43329552703
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 <[email protected]>
Cc: Jingoo Han <[email protected]>
Cc: Alessandro Zummo <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
drivers/rtc/rtc-m41t80.c