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: v2.6.34-rc2~26^2~4 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=bb9b6ef70f08f256ab4b8ec127c17ee629b85350;p=platform%2Fkernel%2Flinux-stable.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 782f958..349e073 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;