diff options
author | 2017-08-17 22:16:48 +0200 | |
---|---|---|
committer | 2017-08-29 21:10:37 +0200 | |
commit | 390c97dc6e346b65df61c18fade67577896382fd (patch) | |
tree | 14da6e137a3bb47c754eb454eb24579eef4841d1 /drivers/leds/leds-mlxcpld.c | |
parent | leds: lm3533: constify attribute_group structure (diff) | |
download | linux-390c97dc6e346b65df61c18fade67577896382fd.tar.gz linux-390c97dc6e346b65df61c18fade67577896382fd.tar.bz2 linux-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 'drivers/leds/leds-mlxcpld.c')
0 files changed, 0 insertions, 0 deletions