[patch 2.6.19-git] rtc, remove syslog spam on registration

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Signed-off-by: David Brownell <[email protected]>

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));
 
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux