mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-02 00:24:12 +08:00
Just the one bug-fix:
- Fix regression affecting LED_COLOR_ID_MULTI users -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEdrbJNaO+IJqU8IdIUa+KL4f8d2EFAmUe1bIACgkQUa+KL4f8 d2Eezw/+LbejOQZN7peiBbEM1PJ84eNr3wvr3z1WaZpjsvHuybJvjxD4Hjw/r0pk 5R21a+Re7o1bGi9yAulp9kVq8WTJh1gwnwPGYo1yje14H0ra/2RoMJJuXbE/L9pk LjgWRpyBzXMCMs/I684RYOLhCIISRDeL2gkdTHYs8mW1SLiMxtedoYj62hLCXS+9 Omq4V2K8aUu7z3Y5H68oJ+uTr8l0rF4hPK1hgQJFEQD8ptEulGlGnnASh3D2A4Dn GDHZwuG28ggpwBlFrq3jziXos6W5Ztbx+EHAjhVzfGdbvdb24i14IWfb5mNIjv3n B2vUXmd0T9hny4oiiftOKfMONFzbM25CDXSdDAbdCmcGeMutXVpbxrqpkIz0fOk2 yQh3jSS3yLFaHLHfY7hIiSwBu2vP7VqMbUoQTrCVs2/7JW2lrjoRvjYlD3ZI8Ex8 VEUYXV5r+beE09kS1fk7OZjEgF+S3Xtt3UZN+m+9mCsV2i5wm6O+jopjh8hsHWmR aFVIOEfa/G4cWW0JYa6ZcdxoeKe7rdiyTdSrrgwpOHBhq64feb78vZZSGW2HlETK bAIn19PS6euC7vrFwHCfhB6c+O3Vuwl47trd1uHOjE4yh4Kzy5BeZQo+Kndgxfxl vV7H6E1FnTf0yEwyN7+dXdoQYleYjZz21SLRYyTaqTxGcW4/q7E= =+28e -----END PGP SIGNATURE----- Merge tag 'leds-fixes-6.6' of git://git.kernel.org/pub/scm/linux/kernel/git/lee/leds Pull LED fix from Lee Jones: "Just the one bug-fix: - Fix regression affecting LED_COLOR_ID_MULTI users" * tag 'leds-fixes-6.6' of git://git.kernel.org/pub/scm/linux/kernel/git/lee/leds: leds: Drop BUG_ON check for LED_COLOR_ID_MULTI
This commit is contained in:
commit
e90822d7ce
@ -479,10 +479,6 @@ int led_compose_name(struct device *dev, struct led_init_data *init_data,
|
||||
|
||||
led_parse_fwnode_props(dev, fwnode, &props);
|
||||
|
||||
/* We want to label LEDs that can produce full range of colors
|
||||
* as RGB, not multicolor */
|
||||
BUG_ON(props.color == LED_COLOR_ID_MULTI);
|
||||
|
||||
if (props.label) {
|
||||
/*
|
||||
* If init_data.devicename is NULL, then it indicates that
|
||||
|
Loading…
Reference in New Issue
Block a user