rtc, remove syslog spam on registration
PATCH 1/1 rtc, remove syslog spam on registration
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]>
drivers/rtc/rtc-proc.c +1 -1
@@ -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 ;
drivers/rtc/rtc-sysfs.c +1 -1
@@ -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)
drivers/rtc/rtc-dev.c +1 -1
@@ -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));
Quoted 4 lines · On Tue, 12 Dec 2006 11:23:55 -0800 David Brownell <[email protected]> wrote:
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]>
Thanks David,
please also cc [email protected] on future patches.
Acked-by Alessandro Zummo <[email protected]>
Signature · 6 lines
Best regards, Alessandro Zummo, Tower Technologies - Turin, Italy http://www.towertech.it