Loading drivers/rtc/rtc-ab8500.c +1 −1 Original line number Diff line number Diff line Loading @@ -131,7 +131,7 @@ static int ab8500_rtc_read_time(struct device *dev, struct rtc_time *tm) secs += get_elapsed_seconds(AB8500_RTC_EPOCH); rtc_time_to_tm(secs, tm); return rtc_valid_tm(tm); return 0; } static int ab8500_rtc_set_time(struct device *dev, struct rtc_time *tm) Loading drivers/rtc/rtc-coh901331.c +1 −1 Original line number Diff line number Diff line Loading @@ -82,7 +82,7 @@ static int coh901331_read_time(struct device *dev, struct rtc_time *tm) if (readl(rtap->virtbase + COH901331_VALID)) { rtc_time_to_tm(readl(rtap->virtbase + COH901331_CUR_TIME), tm); clk_disable(rtap->clk); return rtc_valid_tm(tm); return 0; } clk_disable(rtap->clk); return -EINVAL; Loading drivers/rtc/rtc-jz4740.c +1 −1 Original line number Diff line number Diff line Loading @@ -173,7 +173,7 @@ static int jz4740_rtc_read_time(struct device *dev, struct rtc_time *time) rtc_time_to_tm(secs, time); return rtc_valid_tm(time); return 0; } static int jz4740_rtc_set_mmss(struct device *dev, unsigned long secs) Loading drivers/rtc/rtc-lpc32xx.c +1 −1 Original line number Diff line number Diff line Loading @@ -70,7 +70,7 @@ static int lpc32xx_rtc_read_time(struct device *dev, struct rtc_time *time) elapsed_sec = rtc_readl(rtc, LPC32XX_RTC_UCOUNT); rtc_time_to_tm(elapsed_sec, time); return rtc_valid_tm(time); return 0; } static int lpc32xx_rtc_set_mmss(struct device *dev, unsigned long secs) Loading drivers/rtc/rtc-ls1x.c +1 −1 Original line number Diff line number Diff line Loading @@ -98,7 +98,7 @@ static int ls1x_rtc_read_time(struct device *dev, struct rtc_time *rtm) ls1x_get_min(v), ls1x_get_sec(v)); rtc_time_to_tm(t, rtm); return rtc_valid_tm(rtm); return 0; } static int ls1x_rtc_set_time(struct device *dev, struct rtc_time *rtm) Loading Loading
drivers/rtc/rtc-ab8500.c +1 −1 Original line number Diff line number Diff line Loading @@ -131,7 +131,7 @@ static int ab8500_rtc_read_time(struct device *dev, struct rtc_time *tm) secs += get_elapsed_seconds(AB8500_RTC_EPOCH); rtc_time_to_tm(secs, tm); return rtc_valid_tm(tm); return 0; } static int ab8500_rtc_set_time(struct device *dev, struct rtc_time *tm) Loading
drivers/rtc/rtc-coh901331.c +1 −1 Original line number Diff line number Diff line Loading @@ -82,7 +82,7 @@ static int coh901331_read_time(struct device *dev, struct rtc_time *tm) if (readl(rtap->virtbase + COH901331_VALID)) { rtc_time_to_tm(readl(rtap->virtbase + COH901331_CUR_TIME), tm); clk_disable(rtap->clk); return rtc_valid_tm(tm); return 0; } clk_disable(rtap->clk); return -EINVAL; Loading
drivers/rtc/rtc-jz4740.c +1 −1 Original line number Diff line number Diff line Loading @@ -173,7 +173,7 @@ static int jz4740_rtc_read_time(struct device *dev, struct rtc_time *time) rtc_time_to_tm(secs, time); return rtc_valid_tm(time); return 0; } static int jz4740_rtc_set_mmss(struct device *dev, unsigned long secs) Loading
drivers/rtc/rtc-lpc32xx.c +1 −1 Original line number Diff line number Diff line Loading @@ -70,7 +70,7 @@ static int lpc32xx_rtc_read_time(struct device *dev, struct rtc_time *time) elapsed_sec = rtc_readl(rtc, LPC32XX_RTC_UCOUNT); rtc_time_to_tm(elapsed_sec, time); return rtc_valid_tm(time); return 0; } static int lpc32xx_rtc_set_mmss(struct device *dev, unsigned long secs) Loading
drivers/rtc/rtc-ls1x.c +1 −1 Original line number Diff line number Diff line Loading @@ -98,7 +98,7 @@ static int ls1x_rtc_read_time(struct device *dev, struct rtc_time *rtm) ls1x_get_min(v), ls1x_get_sec(v)); rtc_time_to_tm(t, rtm); return rtc_valid_tm(rtm); return 0; } static int ls1x_rtc_set_time(struct device *dev, struct rtc_time *rtm) Loading