aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/rtc/rtc-pcf8563.c
diff options
context:
space:
mode:
authorAlessandro Zummo <a.zummo@towertech.it>2006-04-11 01:54:45 -0400
committerLinus Torvalds <torvalds@g5.osdl.org>2006-04-11 09:18:47 -0400
commitd1d65b7712016ca5ff2e44470eb13e772999de94 (patch)
tree06f6e823cf5ca785f055b129c003c55b9cbdae86 /drivers/rtc/rtc-pcf8563.c
parent8289607249ad25ecfc9a3742873fcd8f319d5b09 (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-pcf8563.c')
-rw-r--r--drivers/rtc/rtc-pcf8563.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/rtc/rtc-pcf8563.c b/drivers/rtc/rtc-pcf8563.c
index 0a7fd0b4685a..ba9a583b7b68 100644
--- a/drivers/rtc/rtc-pcf8563.c
+++ b/drivers/rtc/rtc-pcf8563.c
@@ -290,8 +290,6 @@ static int pcf8563_probe(struct i2c_adapter *adapter, int address, int kind)
290 290
291 if (IS_ERR(rtc)) { 291 if (IS_ERR(rtc)) {
292 err = PTR_ERR(rtc); 292 err = PTR_ERR(rtc);
293 dev_err(&client->dev,
294 "unable to register the class device\n");
295 goto exit_detach; 293 goto exit_detach;
296 } 294 }
297 295