Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bb9b6ef7 authored by H Hartley Sweeten's avatar H Hartley Sweeten Committed by Richard Purdie
Browse files

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: default avatarH Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: default avatarRichard Purdie <rpurdie@linux.intel.com>
parent 5e89a348
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;