diff options
author | Jacek Anaszewski <[email protected]> | 2017-08-17 22:16:48 +0200 |
---|---|---|
committer | Jacek Anaszewski <[email protected]> | 2017-08-29 21:10:37 +0200 |
commit | 390c97dc6e346b65df61c18fade67577896382fd (patch) | |
tree | 14da6e137a3bb47c754eb454eb24579eef4841d1 /tools | |
parent | 430e48ecf31f4f897047f22e02abdfa75730cad8 (diff) |
leds: pca955x: Prevent crippled LED device name
In case platform data provided empty LED name string the resulting
LED class device name would be crippled. Use corresponding LED chip
bit in place of "function" segment of LED class device name then to
make the LEDs at least distinguishable.
Signed-off-by: Jacek Anaszewski <[email protected]>
Reported-by: Colin King <[email protected]>
Reported-by: Dan Carpenter <[email protected]>
Suggested-by: Nate Case <[email protected]>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions