iwlwifi: mvm: BT Coex - remove duplicate code in rate control
[cascardo/linux.git] / drivers / rtc / rtc-nuc900.c
index 22861c5..248653c 100644 (file)
@@ -99,7 +99,7 @@ static int *check_rtc_access_enable(struct nuc900_rtc *nuc900_rtc)
        if (!timeout)
                return ERR_PTR(-EPERM);
 
-       return 0;
+       return NULL;
 }
 
 static int nuc900_rtc_bcd2bin(unsigned int timereg,