diff options
| author | Ricardo Ribalda Delgado <[email protected]> | 2020-04-01 09:51:47 +0000 |
|---|---|---|
| committer | Pavel Machek <[email protected]> | 2020-04-06 21:12:08 +0000 |
| commit | 64ed6588c2ea618d3f9ca9d8b365ae4c19f76225 (patch) | |
| tree | 32306ea43eaf138fa023516b385f114dd56fe692 /scripts/gcc-plugins/gcc-common.h | |
| parent | leds: make functions easier to understand (diff) | |
| download | kernel-64ed6588c2ea618d3f9ca9d8b365ae4c19f76225.tar.gz kernel-64ed6588c2ea618d3f9ca9d8b365ae4c19f76225.zip | |
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 <[email protected]>
Acked-by: Jacek Anaszewski <[email protected]>
Signed-off-by: Pavel Machek <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/gcc-common.h')
0 files changed, 0 insertions, 0 deletions
