projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
drivers/rtc: Replace PTR_RET with PTR_ERR_OR_ZERO
[cascardo/linux.git]
/
drivers
/
rtc
/
rtc-m48t35.c
diff --git
a/drivers/rtc/rtc-m48t35.c
b/drivers/rtc/rtc-m48t35.c
index
23c3779
..
411adb3
100644
(file)
--- a/
drivers/rtc/rtc-m48t35.c
+++ b/
drivers/rtc/rtc-m48t35.c
@@
-175,7
+175,7
@@
static int m48t35_probe(struct platform_device *pdev)
priv->rtc = devm_rtc_device_register(&pdev->dev, "m48t35",
&m48t35_ops, THIS_MODULE);
- return PTR_
RET
(priv->rtc);
+ return PTR_
ERR_OR_ZERO
(priv->rtc);
}
static struct platform_driver m48t35_platform_driver = {