diff options
| author | Alessandro Zummo <[email protected]> | 2006-04-11 05:54:45 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2006-04-11 13:18:47 +0000 |
| commit | d1d65b7712016ca5ff2e44470eb13e772999de94 (patch) | |
| tree | 06f6e823cf5ca785f055b129c003c55b9cbdae86 /drivers/rtc/class.c | |
| parent | [PATCH] RTC subsystem: RS5C372 sysfs fix (diff) | |
| download | kernel-d1d65b7712016ca5ff2e44470eb13e772999de94.tar.gz kernel-d1d65b7712016ca5ff2e44470eb13e772999de94.zip | |
[PATCH] RTC subsystem: compact error messages
Move registration error message from drivers to core.
Signed-off-by: Alessandro Zummo <[email protected]>
Cc: Lennert Buytenhek <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'drivers/rtc/class.c')
| -rw-r--r-- | drivers/rtc/class.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/rtc/class.c b/drivers/rtc/class.c index 8533936d50d8..413c7d54ea10 100644 --- a/drivers/rtc/class.c +++ b/drivers/rtc/class.c @@ -96,6 +96,8 @@ exit_idr: idr_remove(&rtc_idr, id); exit: + dev_err(dev, "rtc core: unable to register %s, err = %d\n", + name, err); return ERR_PTR(err); } EXPORT_SYMBOL_GPL(rtc_device_register); |
