diff options
Diffstat (limited to 'drivers/rtc/rtc-pcf8563.c')
-rw-r--r-- | drivers/rtc/rtc-pcf8563.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/rtc/rtc-pcf8563.c b/drivers/rtc/rtc-pcf8563.c index 710c3a5aa6ff..63b558c48196 100644 --- a/drivers/rtc/rtc-pcf8563.c +++ b/drivers/rtc/rtc-pcf8563.c | |||
@@ -264,7 +264,7 @@ static int pcf8563_probe(struct i2c_client *client, | |||
264 | pcf8563_driver.driver.name, | 264 | pcf8563_driver.driver.name, |
265 | &pcf8563_rtc_ops, THIS_MODULE); | 265 | &pcf8563_rtc_ops, THIS_MODULE); |
266 | 266 | ||
267 | return PTR_RET(pcf8563->rtc); | 267 | return PTR_ERR_OR_ZERO(pcf8563->rtc); |
268 | } | 268 | } |
269 | 269 | ||
270 | static const struct i2c_device_id pcf8563_id[] = { | 270 | static const struct i2c_device_id pcf8563_id[] = { |