lkml.org 
[lkml]   [2007]   [Mar]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[patch 2.6.21-rc2-git] reduce rtc syslog spam
Date
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;
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2007-03-06 21:07    [W:0.031 / U:0.076 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site