From: Magnus Lilja Date: Wed, 11 Nov 2009 18:56:58 +0000 (+0100) Subject: RTC: Fix return code in MC13783 RTC driver. X-Git-Tag: v2009.11-rc2~26 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f3a7bddc06c927c36a1a99a97131299479ef207a;p=kernel%2Fu-boot.git RTC: Fix return code in MC13783 RTC driver. Signed-off-by: Magnus Lilja --- diff --git a/drivers/rtc/mc13783-rtc.c b/drivers/rtc/mc13783-rtc.c index 05db2f1..416f50d 100644 --- a/drivers/rtc/mc13783-rtc.c +++ b/drivers/rtc/mc13783-rtc.c @@ -109,7 +109,7 @@ int rtc_set(struct rtc_time *rtc) spi_release_bus(slave); - return -1; + return 0; } void rtc_reset(void)