From: H Hartley Sweeten Date: Wed, 6 Jan 2010 22:34:55 +0000 (-0700) Subject: leds: led-class.c - Quiet boot messages X-Git-Tag: Ubuntu-goldfish-3.4.0-4.27~7823^2~4 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=bb9b6ef70f08f256ab4b8ec127c17ee629b85350;p=mirror_ubuntu-zesty-kernel.git leds: led-class.c - Quiet boot messages As each led device gets registered a kernel message gets printed. In an embedded system with a number of leds this can produce a lot of output that just looks like noise. Change the message type to KERN_DEBUG since it might be useful in the dmesg output "after" booting. Signed-off-by: H Hartley Sweeten Signed-off-by: Richard Purdie --- diff --git a/drivers/leds/led-class.c b/drivers/leds/led-class.c index 782f95822eab..349e07350144 100644 --- a/drivers/leds/led-class.c +++ b/drivers/leds/led-class.c @@ -164,7 +164,7 @@ int led_classdev_register(struct device *parent, struct led_classdev *led_cdev) led_trigger_set_default(led_cdev); #endif - printk(KERN_INFO "Registered led device: %s\n", + printk(KERN_DEBUG "Registered led device: %s\n", led_cdev->name); return 0;