Skip to content

Commit

Permalink
[PATCH] rtc: remove syslog spam on registration
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
David Brownell authored and Linus Torvalds committed Dec 13, 2006
1 parent 9cef779 commit 5a6534e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion drivers/rtc/rtc-dev.c
Original file line number Diff line number Diff line change
Expand Up @@ -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));

Expand Down
2 changes: 1 addition & 1 deletion drivers/rtc/rtc-proc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion drivers/rtc/rtc-sysfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 5a6534e

Please sign in to comment.