public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [patch 2.6.19-git] rtc, remove syslog spam on registration
@ 2006-12-12 19:23 David Brownell
  2006-12-12 20:46 ` Alessandro Zummo
  0 siblings, 1 reply; 2+ messages in thread
From: David Brownell @ 2006-12-12 19:23 UTC (permalink / raw)
  To: Alessandro Zummo, Linux Kernel list

This removes some syslog spam as RTC drivers register; debug messages 
shouldn't come out at "info" level.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>

Index: g26/drivers/rtc/rtc-proc.c
===================================================================
--- g26.orig/drivers/rtc/rtc-proc.c	2006-12-12 11:08:09.000000000 -0800
+++ g26/drivers/rtc/rtc-proc.c	2006-12-12 11:20:51.000000000 -0800
@@ -120,7 +120,7 @@ static int rtc_proc_add_device(struct cl
 			ent->owner = rtc->owner;
 			ent->data = class_dev;
 
-			dev_info(class_dev->dev, "rtc intf: proc\n");
+			dev_dbg(class_dev->dev, "rtc intf: proc\n");
 		}
 		else
 			rtc_dev = NULL;
Index: g26/drivers/rtc/rtc-sysfs.c
===================================================================
--- g26.orig/drivers/rtc/rtc-sysfs.c	2006-12-12 11:08:09.000000000 -0800
+++ g26/drivers/rtc/rtc-sysfs.c	2006-12-12 11:20:51.000000000 -0800
@@ -83,7 +83,7 @@ static int __devinit rtc_sysfs_add_devic
 {
 	int err;
 
-	dev_info(class_dev->dev, "rtc intf: sysfs\n");
+	dev_dbg(class_dev->dev, "rtc intf: sysfs\n");
 
 	err = sysfs_create_group(&class_dev->kobj, &rtc_attr_group);
 	if (err)
Index: g26/drivers/rtc/rtc-dev.c
===================================================================
--- g26.orig/drivers/rtc/rtc-dev.c	2006-12-12 11:08:09.000000000 -0800
+++ g26/drivers/rtc/rtc-dev.c	2006-12-12 11:20:51.000000000 -0800
@@ -435,7 +435,7 @@ static int rtc_dev_add_device(struct cla
 		goto err_cdev_del;
 	}
 
-	dev_info(class_dev->dev, "rtc intf: dev (%d:%d)\n",
+	dev_dbg(class_dev->dev, "rtc intf: dev (%d:%d)\n",
 		MAJOR(rtc->rtc_dev->devt),
 		MINOR(rtc->rtc_dev->devt));
 

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [patch 2.6.19-git] rtc, remove syslog spam on registration
  2006-12-12 19:23 [patch 2.6.19-git] rtc, remove syslog spam on registration David Brownell
@ 2006-12-12 20:46 ` Alessandro Zummo
  0 siblings, 0 replies; 2+ messages in thread
From: Alessandro Zummo @ 2006-12-12 20:46 UTC (permalink / raw)
  To: David Brownell; +Cc: Linux Kernel list, akpm

On Tue, 12 Dec 2006 11:23:55 -0800
David Brownell <david-b@pacbell.net> wrote:

> This removes some syslog spam as RTC drivers register; debug messages 
> shouldn't come out at "info" level.
> 
> Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>

 Thanks David,

   please also cc rtc-linux@googlegroups.com on future patches.


 Acked-by: Alessandro Zummo <a.zummo@towertech.it>
-- 

 Best regards,

 Alessandro Zummo,
  Tower Technologies - Turin, Italy

  http://www.towertech.it


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-12-13  0:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-12-12 19:23 [patch 2.6.19-git] rtc, remove syslog spam on registration David Brownell
2006-12-12 20:46 ` Alessandro Zummo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox