Commit bb9b6ef70f08f256ab4b8ec127c17ee629b85350

Authored by H Hartley Sweeten
Committed by Richard Purdie
1 parent 5e89a3484d

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>

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

drivers/leds/led-class.c
... ... @@ -164,7 +164,7 @@
164 164 led_trigger_set_default(led_cdev);
165 165 #endif
166 166  
167   - printk(KERN_INFO "Registered led device: %s\n",
  167 + printk(KERN_DEBUG "Registered led device: %s\n",
168 168 led_cdev->name);
169 169  
170 170 return 0;