lkml.org 
[lkml]   [2006]   [Dec]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[patch 2.6.19-git] rtc, remove syslog spam on registration
Date
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));

-
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: 2006-12-12 21:27    [W:0.024 / U:0.104 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site