aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/leds
diff options
context:
space:
mode:
authorH Hartley Sweeten <hartleys@visionengravers.com>2010-01-06 17:34:55 -0500
committerRichard Purdie <rpurdie@linux.intel.com>2010-03-16 15:49:21 -0400
commitbb9b6ef70f08f256ab4b8ec127c17ee629b85350 (patch)
treece1abece2081cfffd14ef5ff3f479daf3481802b /drivers/leds
parent5e89a3484dea8a3d962f83fe497d064fbcde4e55 (diff)
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>
Diffstat (limited to 'drivers/leds')
-rw-r--r--drivers/leds/led-class.c2
1 files changed, 1 insertions, 1 deletions
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)
164 led_trigger_set_default(led_cdev); 164 led_trigger_set_default(led_cdev);
165#endif 165#endif
166 166
167 printk(KERN_INFO "Registered led device: %s\n", 167 printk(KERN_DEBUG "Registered led device: %s\n",
168 led_cdev->name); 168 led_cdev->name);
169 169
170 return 0; 170 return 0;