Skip to content

Commit

Permalink
leds: led-class.c - Quiet boot messages
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
H Hartley Sweeten authored and Richard Purdie committed Mar 16, 2010
1 parent 5e89a34 commit bb9b6ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/leds/led-class.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit bb9b6ef

Please sign in to comment.