diff options
Diffstat (limited to 'arch/powerpc/platforms/ps3/time.c')
-rw-r--r-- | arch/powerpc/platforms/ps3/time.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/platforms/ps3/time.c b/arch/powerpc/platforms/ps3/time.c index cba1e6be68e5..ce73ce865613 100644 --- a/arch/powerpc/platforms/ps3/time.c +++ b/arch/powerpc/platforms/ps3/time.c | |||
@@ -90,7 +90,7 @@ static int __init ps3_rtc_init(void) | |||
90 | 90 | ||
91 | pdev = platform_device_register_simple("rtc-ps3", -1, NULL, 0); | 91 | pdev = platform_device_register_simple("rtc-ps3", -1, NULL, 0); |
92 | 92 | ||
93 | return PTR_RET(pdev); | 93 | return PTR_ERR_OR_ZERO(pdev); |
94 | } | 94 | } |
95 | 95 | ||
96 | module_init(ps3_rtc_init); | 96 | module_init(ps3_rtc_init); |