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-ds1672.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-ds1672.c')
-rw-r--r-- | drivers/rtc/rtc-ds1672.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/rtc/rtc-ds1672.c b/drivers/rtc/rtc-ds1672.c index 56a331367386..9be81fd4737c 100644 --- a/drivers/rtc/rtc-ds1672.c +++ b/drivers/rtc/rtc-ds1672.c | |||
@@ -229,8 +229,6 @@ static int ds1672_probe(struct i2c_adapter *adapter, int address, int kind) | |||
229 | 229 | ||
230 | if (IS_ERR(rtc)) { | 230 | if (IS_ERR(rtc)) { |
231 | err = PTR_ERR(rtc); | 231 | err = PTR_ERR(rtc); |
232 | dev_err(&client->dev, | ||
233 | "unable to register the class device\n"); | ||
234 | goto exit_detach; | 232 | goto exit_detach; |
235 | } | 233 | } |
236 | 234 | ||