diff --git a/[refs] b/[refs] index fe307d5ef81f..f76cacc6fe2b 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: ef1a12817aebc313049d226f96eee86e4bcc94a3 +refs/heads/master: b6ba92819dc1304a4e5a0bf06b297c657b58168a diff --git a/trunk/include/asm-powerpc/rtc.h b/trunk/include/asm-powerpc/rtc.h index d38f2a077db2..f5802926b6c0 100644 --- a/trunk/include/asm-powerpc/rtc.h +++ b/trunk/include/asm-powerpc/rtc.h @@ -52,10 +52,8 @@ static inline unsigned int get_rtc_time(struct rtc_time *time) /* Set the current date and time in the real time clock. */ static inline int set_rtc_time(struct rtc_time *time) { - if (ppc_md.get_rtc_time) { - ppc_md.set_rtc_time(time); - return 0; - } + if (ppc_md.set_rtc_time) + return ppc_md.set_rtc_time(time); return -EINVAL; }