powerpc: Make set_rtc_time() return error code from lower-level function
authorPaul Mackerras <paulus@samba.org>
Sat, 22 Oct 2005 05:57:55 +0000 (15:57 +1000)
committerPaul Mackerras <paulus@samba.org>
Sat, 22 Oct 2005 05:57:55 +0000 (15:57 +1000)
commitb6ba92819dc1304a4e5a0bf06b297c657b58168a
tree3ae9182dc1c0fe58dc43f8ae196cf5ac484482c6
parentef1a12817aebc313049d226f96eee86e4bcc94a3
powerpc: Make set_rtc_time() return error code from lower-level function

Previously it ignored the return value from ppc_md.set_rtc_time,
but in fact the functions that that can point to do return a
useful error code, so return it from set_rtc_time().

Signed-off-by: Paul Mackerras <paulus@samba.org>
include/asm-powerpc/rtc.h