diff options
author | Alessandro Zummo <a.zummo@towertech.it> | 2006-04-11 01:54:45 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-04-11 09:18:47 -0400 |
commit | d1d65b7712016ca5ff2e44470eb13e772999de94 (patch) | |
tree | 06f6e823cf5ca785f055b129c003c55b9cbdae86 /drivers/rtc/rtc-ep93xx.c | |
parent | 8289607249ad25ecfc9a3742873fcd8f319d5b09 (diff) |
[PATCH] RTC subsystem: compact error messages
Move registration error message from drivers to core.
Signed-off-by: Alessandro Zummo <a.zummo@towertech.it>
Cc: Lennert Buytenhek <buytenh@wantstofly.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/rtc/rtc-ep93xx.c')
-rw-r--r-- | drivers/rtc/rtc-ep93xx.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/rtc/rtc-ep93xx.c b/drivers/rtc/rtc-ep93xx.c index 6d9fe2cca285..e1a1169e4664 100644 --- a/drivers/rtc/rtc-ep93xx.c +++ b/drivers/rtc/rtc-ep93xx.c | |||
@@ -109,7 +109,6 @@ static int __devinit ep93xx_rtc_probe(struct platform_device *dev) | |||
109 | &dev->dev, &ep93xx_rtc_ops, THIS_MODULE); | 109 | &dev->dev, &ep93xx_rtc_ops, THIS_MODULE); |
110 | 110 | ||
111 | if (IS_ERR(rtc)) { | 111 | if (IS_ERR(rtc)) { |
112 | dev_err(&dev->dev, "unable to register\n"); | ||
113 | return PTR_ERR(rtc); | 112 | return PTR_ERR(rtc); |
114 | } | 113 | } |
115 | 114 | ||