diff options
author | Ricardo Ribalda Delgado <ribalda@kernel.org> | 2020-04-01 11:51:47 +0200 |
---|---|---|
committer | Pavel Machek <pavel@ucw.cz> | 2020-04-06 23:12:08 +0200 |
commit | 64ed6588c2ea618d3f9ca9d8b365ae4c19f76225 (patch) | |
tree | 32306ea43eaf138fa023516b385f114dd56fe692 /drivers/input | |
parent | 4b37883a8c07c7c7ec166ad5b66d8d0f39e7994d (diff) | |
download | linux-64ed6588c2ea618d3f9ca9d8b365ae4c19f76225.tar.bz2 |
leds: core: Fix warning message when init_data
The warning message when a led is renamed due to name collition can fail
to show proper original name if init_data is used. Eg:
[ 9.073996] leds-gpio a0040000.leds_0: Led (null) renamed to red_led_1 due to name collision
Fixes: bb4e9af0348d ("leds: core: Add support for composing LED class device names")
Signed-off-by: Ricardo Ribalda Delgado <ribalda@kernel.org>
Acked-by: Jacek Anaszewski <jacek.anaszewski@gmail.com>
Signed-off-by: Pavel Machek <pavel@ucw.cz>
Diffstat (limited to 'drivers/input')
0 files changed, 0 insertions, 0 deletions