projects
/
linux-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
rtc: remove superfluous error message
[linux-block.git]
/
drivers
/
rtc
/
rtc-brcmstb-waketimer.c
diff --git
a/drivers/rtc/rtc-brcmstb-waketimer.c
b/drivers/rtc/rtc-brcmstb-waketimer.c
index 2f65943867f517a9d1cebc2ed349d022fb23da34..3e9800f9878af91884a8934c6fa4ddf39b49a389 100644
(file)
--- a/
drivers/rtc/rtc-brcmstb-waketimer.c
+++ b/
drivers/rtc/rtc-brcmstb-waketimer.c
@@
-255,10
+255,8
@@
static int brcmstb_waketmr_probe(struct platform_device *pdev)
timer->rtc->range_max = U32_MAX;
ret = rtc_register_device(timer->rtc);
- if (ret) {
- dev_err(dev, "unable to register device\n");
+ if (ret)
goto err_notifier;
- }
dev_info(dev, "registered, with irq %d\n", timer->irq);