drivers: led: lp50xx: fix led index
The led identifer should refer to devicetree ordering, not to the index
used by the controller. This way, it will be possible to deactivate
some leds or to reorganize the indexing if necessary.
Signed-off-by:
Mathieu Anquetin <mathieu.anquetin@groupe-cahors.com>
Loading
Please sign in to comment