diff options
author | Alessandro Zummo <a.zummo@towertech.it> | 2006-04-10 22:54:45 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-04-11 06:18:47 -0700 |
commit | d1d65b7712016ca5ff2e44470eb13e772999de94 (patch) | |
tree | 06f6e823cf5ca785f055b129c003c55b9cbdae86 /drivers/rtc/rtc-rs5c372.c | |
parent | 8289607249ad25ecfc9a3742873fcd8f319d5b09 (diff) | |
download | op-kernel-dev-d1d65b7712016ca5ff2e44470eb13e772999de94.zip op-kernel-dev-d1d65b7712016ca5ff2e44470eb13e772999de94.tar.gz |
[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-rs5c372.c')
-rw-r--r-- | drivers/rtc/rtc-rs5c372.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/rtc/rtc-rs5c372.c b/drivers/rtc/rtc-rs5c372.c index 5e5cc10..7553d79 100644 --- a/drivers/rtc/rtc-rs5c372.c +++ b/drivers/rtc/rtc-rs5c372.c @@ -233,8 +233,6 @@ static int rs5c372_probe(struct i2c_adapter *adapter, int address, int kind) if (IS_ERR(rtc)) { err = PTR_ERR(rtc); - dev_err(&client->dev, - "unable to register the class device\n"); goto exit_detach; } |