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
s390: update defconfigs
[linux-2.6-microblaze.git]
/
drivers
/
rtc
/
rtc-cros-ec.c
diff --git
a/drivers/rtc/rtc-cros-ec.c
b/drivers/rtc/rtc-cros-ec.c
index
f7343c2
..
7062679
100644
(file)
--- a/
drivers/rtc/rtc-cros-ec.c
+++ b/
drivers/rtc/rtc-cros-ec.c
@@
-350,7
+350,7
@@
static int cros_ec_rtc_probe(struct platform_device *pdev)
cros_ec_rtc->rtc->ops = &cros_ec_rtc_ops;
cros_ec_rtc->rtc->range_max = U32_MAX;
- ret = rtc_register_device(cros_ec_rtc->rtc);
+ ret =
devm_
rtc_register_device(cros_ec_rtc->rtc);
if (ret)
return ret;