]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[PATCH] rtc: remove syslog spam on registration
authorDavid Brownell <david-b@pacbell.net>
Wed, 13 Dec 2006 08:35:06 +0000 (00:35 -0800)
committerLinus Torvalds <torvalds@woody.osdl.org>
Wed, 13 Dec 2006 17:05:52 +0000 (09:05 -0800)
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>
Acked-by: Alessandro Zummo <a.zummo@towertech.it>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/rtc/rtc-dev.c
drivers/rtc/rtc-proc.c
drivers/rtc/rtc-sysfs.c

index 828b329e08e0ca62a23617863825a325ca3511d7..94d3df62a5fa85834d440839bba21f6c3054958b 100644 (file)
@@ -435,7 +435,7 @@ static int rtc_dev_add_device(struct class_device *class_dev,
                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));
 
index d51d8f20e634e020428b834febb6852731303310..91a43c970b2183a15281e5ce020a973d7fdb2a82 100644 (file)
@@ -120,7 +120,7 @@ static int rtc_proc_add_device(struct class_device *class_dev,
                        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 625637b84d33424be18af05530db5293b11fd3ea..9418a59fb368a3729d02fd68c579179c0571f5f9 100644 (file)
@@ -83,7 +83,7 @@ static int __devinit rtc_sysfs_add_device(struct class_device *class_dev,
 {
        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)