projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 'io_uring-5.11-2020-12-23' of git://git.kernel.dk/linux-block
[linux-2.6-microblaze.git]
/
drivers
/
rtc
/
rtc-wm831x.c
diff --git
a/drivers/rtc/rtc-wm831x.c
b/drivers/rtc/rtc-wm831x.c
index
ccef887
..
640833e
100644
(file)
--- a/
drivers/rtc/rtc-wm831x.c
+++ b/
drivers/rtc/rtc-wm831x.c
@@
-429,7
+429,7
@@
static int wm831x_rtc_probe(struct platform_device *pdev)
wm831x_rtc->rtc->ops = &wm831x_rtc_ops;
wm831x_rtc->rtc->range_max = U32_MAX;
- ret = rtc_register_device(wm831x_rtc->rtc);
+ ret =
devm_
rtc_register_device(wm831x_rtc->rtc);
if (ret)
return ret;