usb: dwc2/gadget: break infinite loop in endpoint disable code
[deliverable/linux.git] / drivers / rtc / rtc-pcf8583.c
index 843a745c42f34adeef54b1c79ffa7146e5943f4a..c2639845186b3f8433551116074ae19197ee1866 100644 (file)
@@ -285,7 +285,7 @@ static int pcf8583_probe(struct i2c_client *client,
                                pcf8583_driver.driver.name,
                                &pcf8583_rtc_ops, THIS_MODULE);
 
-       return PTR_RET(pcf8583->rtc);
+       return PTR_ERR_OR_ZERO(pcf8583->rtc);
 }
 
 static const struct i2c_device_id pcf8583_id[] = {
This page took 0.025936 seconds and 5 git commands to generate.