On Wed, 08 Oct 2025 14:32:21 +0200, Christian Hitz wrote:
led_banks contains LED module number(s) that should be grouped into the module bank. led_banks is 0-initialized. By checking the led_banks entries for 0, un-set entries are detected. But a 0-entry also indicates that LED module 0 should be grouped into the module bank.
By only iterating over the available entries no check for unused entries is required and LED module 0 can be added to bank.
[...]
Applied, thanks!
[1/1] leds: leds-lp50xx: allow LED 0 to be added to module bank commit: 26fe74d598c32e7bc6f150edfc4aa43e1bee55db
-- Lee Jones [李琼斯]