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
Unified · Split
| @@ -479,10 +479,6 @@ int led_compose_name(struct device *dev, struct led_init_data *init_data, · 478 unmodified lines | |||
| 479 | 479 | ||
| 480 | led_parse_fwnode_props(dev, fwnode, &props); | 480 | led_parse_fwnode_props(dev, fwnode, &props); |
| 481 | 481 | ||
| 482 | /* We want to label LEDs that can produce full range of colors | ||
| 483 | * as RGB, not multicolor */ | ||
| 484 | BUG_ON(props.color == LED_COLOR_ID_MULTI); | ||
| 485 | |||
| 486 | if (props.label) { | 482 | if (props.label) { |
| 487 | /* | 483 | /* |
| 488 | * If init_data.devicename is NULL, then it indicates that | 484 | * If init_data.devicename is NULL, then it indicates that |