Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[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>

authored by

David Brownell and committed by
Linus Torvalds
5a6534e4 9cef779e

+3 -3
+1 -1
drivers/rtc/rtc-dev.c
··· 435 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 439 MAJOR(rtc->rtc_dev->devt), 440 440 MINOR(rtc->rtc_dev->devt)); 441 441
+1 -1
drivers/rtc/rtc-proc.c
··· 120 120 ent->owner = rtc->owner; 121 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 125 else 126 126 rtc_dev = NULL;
+1 -1
drivers/rtc/rtc-sysfs.c
··· 83 83 { 84 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 88 err = sysfs_create_group(&class_dev->kobj, &rtc_attr_group); 89 89 if (err)