]> Git Repo - linux.git/blobdiff - arch/powerpc/sysdev/rtc_cmos_setup.c
m68k: Fix misspellings in comments.
[linux.git] / arch / powerpc / sysdev / rtc_cmos_setup.c
index af79e1ea74b6dcb061b89d2032770914332ff1da..af0f9beddca9be85b3720bf84109033a1ee13aa3 100644 (file)
@@ -62,7 +62,7 @@ static int  __init add_rtc(void)
        pd = platform_device_register_simple("rtc_cmos", -1,
                                             &res[0], num_res);
 
-       return PTR_RET(pd);
+       return PTR_ERR_OR_ZERO(pd);
 }
 fs_initcall(add_rtc);
 
This page took 0.035746 seconds and 4 git commands to generate.