diff options
author | David Brownell <david-b@pacbell.net> | 2006-12-13 03:35:06 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.osdl.org> | 2006-12-13 12:05:52 -0500 |
commit | 5a6534e4cf53e16a6ea92f033f89d6575b3d7422 (patch) | |
tree | e1b954e208f2c313d1a040b1494ff455fd3ab673 /drivers/rtc | |
parent | 9cef779ec3643e6c846f86a32d8c44daff16a336 (diff) |
[PATCH] 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 <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>
Diffstat (limited to 'drivers/rtc')
-rw-r--r-- | drivers/rtc/rtc-dev.c | 2 | ||||
-rw-r--r-- | drivers/rtc/rtc-proc.c | 2 | ||||
-rw-r--r-- | drivers/rtc/rtc-sysfs.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/drivers/rtc/rtc-dev.c b/drivers/rtc/rtc-dev.c index 828b329e08e0..94d3df62a5fa 100644 --- a/drivers/rtc/rtc-dev.c +++ b/drivers/rtc/rtc-dev.c | |||
@@ -435,7 +435,7 @@ static int rtc_dev_add_device(struct class_device *class_dev, | |||
435 | goto err_cdev_del; | 435 | goto err_cdev_del; |
436 | } | 436 | } |
437 | 437 | ||
438 | dev_info(class_dev->dev, "rtc intf: dev (%d:%d)\n", | 438 | dev_dbg(class_dev->dev, "rtc intf: dev (%d:%d)\n", |
439 | MAJOR(rtc->rtc_dev->devt), | 439 | MAJOR(rtc->rtc_dev->devt), |
440 | MINOR(rtc->rtc_dev->devt)); | 440 | MINOR(rtc->rtc_dev->devt)); |
441 | 441 | ||
diff --git a/drivers/rtc/rtc-proc.c b/drivers/rtc/rtc-proc.c index d51d8f20e634..91a43c970b21 100644 --- a/drivers/rtc/rtc-proc.c +++ b/drivers/rtc/rtc-proc.c | |||
@@ -120,7 +120,7 @@ static int rtc_proc_add_device(struct class_device *class_dev, | |||
120 | ent->owner = rtc->owner; | 120 | ent->owner = rtc->owner; |
121 | ent->data = class_dev; | 121 | ent->data = class_dev; |
122 | 122 | ||
123 | dev_info(class_dev->dev, "rtc intf: proc\n"); | 123 | dev_dbg(class_dev->dev, "rtc intf: proc\n"); |
124 | } | 124 | } |
125 | else | 125 | else |
126 | rtc_dev = NULL; | 126 | rtc_dev = NULL; |
diff --git a/drivers/rtc/rtc-sysfs.c b/drivers/rtc/rtc-sysfs.c index 625637b84d33..9418a59fb368 100644 --- a/drivers/rtc/rtc-sysfs.c +++ b/drivers/rtc/rtc-sysfs.c | |||
@@ -83,7 +83,7 @@ static int __devinit rtc_sysfs_add_device(struct class_device *class_dev, | |||
83 | { | 83 | { |
84 | int err; | 84 | int err; |
85 | 85 | ||
86 | dev_info(class_dev->dev, "rtc intf: sysfs\n"); | 86 | dev_dbg(class_dev->dev, "rtc intf: sysfs\n"); |
87 | 87 | ||
88 | err = sysfs_create_group(&class_dev->kobj, &rtc_attr_group); | 88 | err = sysfs_create_group(&class_dev->kobj, &rtc_attr_group); |
89 | if (err) | 89 | if (err) |