* [PATCH] led-class.c: quiet boot messages
@ 2010-01-06 22:34 H Hartley Sweeten
2010-01-18 14:01 ` Richard Purdie
0 siblings, 1 reply; 2+ messages in thread
From: H Hartley Sweeten @ 2010-01-06 22:34 UTC (permalink / raw)
To: Linux Kernel; +Cc: rpurdie
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>
Cc: Richard Purdie <rpurdie@rpsys.net>
---
diff --git a/drivers/leds/led-class.c b/drivers/leds/led-class.c
index 782f958..349e073 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)
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;
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] led-class.c: quiet boot messages
2010-01-06 22:34 [PATCH] led-class.c: quiet boot messages H Hartley Sweeten
@ 2010-01-18 14:01 ` Richard Purdie
0 siblings, 0 replies; 2+ messages in thread
From: Richard Purdie @ 2010-01-18 14:01 UTC (permalink / raw)
To: H Hartley Sweeten; +Cc: Linux Kernel
On Wed, 2010-01-06 at 15:34 -0700, H Hartley Sweeten wrote:
> 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.
Queued in the LED tree, thanks.
Richard
--
Richard Purdie
Intel Open Source Technology Centre
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-01-18 14:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-01-06 22:34 [PATCH] led-class.c: quiet boot messages H Hartley Sweeten
2010-01-18 14:01 ` Richard Purdie
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®