dect
/
linux-2.6
Archived
13
0
Fork 0

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:
H Hartley Sweeten 2010-01-06 15:34:55 -07:00 committed by Richard Purdie
parent 5e89a3484d
commit bb9b6ef70f
1 changed files with 1 additions and 1 deletions

View File

@ -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;