mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
leds: Use log level warn instead of info when telling about a name clash
The LED names are expected to be unique in the system. Use KERN_WARNING log level to notify the user about the matter. Signed-off-by: Sakari Ailus <[email protected]> Signed-off-by: Bryan Wu <[email protected]> Signed-off-by: Ricardo Ribalda Delgado <[email protected]>
This commit is contained in:
parent
a96aa64cb5
commit
6f06c7f87c
1 changed files with 1 additions and 1 deletions
|
|
@ -257,7 +257,7 @@ int led_classdev_register(struct device *parent, struct led_classdev *led_cdev)
|
|||
return PTR_ERR(led_cdev->dev);
|
||||
|
||||
if (ret)
|
||||
dev_info(parent, "Led %s renamed to %s due to name collision",
|
||||
dev_warn(parent, "Led %s renamed to %s due to name collision",
|
||||
led_cdev->name, dev_name(led_cdev->dev));
|
||||
|
||||
#ifdef CONFIG_LEDS_TRIGGERS
|
||||
|
|
|
|||
Loading…
Reference in a new issue