]> git.sur5r.net Git - u-boot/commitdiff
RTC: Fix return code in MC13783 RTC driver.
authorMagnus Lilja <lilja.magnus@gmail.com>
Wed, 11 Nov 2009 18:56:58 +0000 (19:56 +0100)
committerWolfgang Denk <wd@denx.de>
Wed, 2 Dec 2009 22:29:18 +0000 (23:29 +0100)
Signed-off-by: Magnus Lilja <lilja.magnus@gmail.com>
drivers/rtc/mc13783-rtc.c

index 05db2f1d474ed9d6497a0f04dc15eb5316f31e32..416f50d01f9e7503cf329406d37f998305a9078d 100644 (file)
@@ -109,7 +109,7 @@ int rtc_set(struct rtc_time *rtc)
 
        spi_release_bus(slave);
 
-       return -1;
+       return 0;
 }
 
 void rtc_reset(void)