diff options
author | Jacek Anaszewski <jacek.anaszewski@gmail.com> | 2017-08-17 22:16:48 +0200 |
---|---|---|
committer | Jacek Anaszewski <jacek.anaszewski@gmail.com> | 2017-08-29 21:10:37 +0200 |
commit | 390c97dc6e346b65df61c18fade67577896382fd (patch) | |
tree | 14da6e137a3bb47c754eb454eb24579eef4841d1 /kernel | |
parent | 430e48ecf31f4f897047f22e02abdfa75730cad8 (diff) | |
download | linux-stable-390c97dc6e346b65df61c18fade67577896382fd.tar.gz linux-stable-390c97dc6e346b65df61c18fade67577896382fd.tar.bz2 linux-stable-390c97dc6e346b65df61c18fade67577896382fd.zip |
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 <jacek.anaszewski@gmail.com>
Reported-by: Colin King <colin.king@canonical.com>
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Suggested-by: Nate Case <ncase@xes-inc.com>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions