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 <hsweeten@visionengravers.com> Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
This commit is contained in:
parent
5e89a3484d
commit
bb9b6ef70f
|
@ -164,7 +164,7 @@ int led_classdev_register(struct device *parent, struct led_classdev *led_cdev)
|
||||||
led_trigger_set_default(led_cdev);
|
led_trigger_set_default(led_cdev);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
printk(KERN_INFO "Registered led device: %s\n",
|
printk(KERN_DEBUG "Registered led device: %s\n",
|
||||||
led_cdev->name);
|
led_cdev->name);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
|
Loading…
Reference in New Issue