[PATCH -next] rtc: rtc-pcf2123: fix error return code in pcf2123_probe()

2013-04-25 Thread Wei Yongjun
From: Wei Yongjun Fix to return -ENODEV in the chip not found error handling case instead of 0, as done elsewhere in this function. Signed-off-by: Wei Yongjun --- drivers/rtc/rtc-pcf2123.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/rtc/rtc-pcf2123.c

[PATCH -next] rtc: rtc-pcf2123: fix error return code in pcf2123_probe()

2013-04-25 Thread Wei Yongjun
From: Wei Yongjun yongjun_...@trendmicro.com.cn Fix to return -ENODEV in the chip not found error handling case instead of 0, as done elsewhere in this function. Signed-off-by: Wei Yongjun yongjun_...@trendmicro.com.cn --- drivers/rtc/rtc-pcf2123.c | 1 + 1 file changed, 1 insertion(+) diff