reduce rtc syslog spam
PATCH 1/1 reduce rtc syslog spam
Make the RTC core less noisy. On fault paths this message is confusing; and on success, a message from the driver itself should be much more informative (displaying chip type, options, etc).
Signed-off-by David Brownell <[email protected]>
---
It would be nice if this cleanup went into 2.6.21, to reduce that confusion. Previous patches cleaned up the per-interface debug messages, but neglected this one.
drivers/rtc/class.c +1 -1
@@ -85,7 +85,7 @@ struct rtc_device *rtc_device_register(cif (err) goto exit_kfree; -dev_info (dev,"rtc core: registered %s as %s\n" , +dev_dbg (dev,"rtc core: registered %s as %s\n" , rtc->name, rtc->class_dev.class_id);return rtc;