* [patch 2.6.21-rc2-git] reduce rtc syslog spam
@ 2007-03-06 19:35 David Brownell
0 siblings, 0 replies; only message in thread
From: David Brownell @ 2007-03-06 19:35 UTC (permalink / raw)
To: Linux Kernel list; +Cc: rtc-linux
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 <dbrownell@users.sourceforge.net>
---
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.
Index: linux-2.6/drivers/rtc/class.c
===================================================================
--- linux-2.6.orig/drivers/rtc/class.c 2007-03-01 17:12:41.000000000 -0800
+++ linux-2.6/drivers/rtc/class.c 2007-03-06 04:06:54.000000000 -0800
@@ -85,7 +85,7 @@ struct rtc_device *rtc_device_register(c
if (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;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2007-03-06 20:02 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-03-06 19:35 [patch 2.6.21-rc2-git] reduce rtc syslog spam David Brownell
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®