linux-stable/drivers/leds/simple
Henning Schild ee24395f91 leds: simatic-ipc-leds-gpio: fix incorrect LED to GPIO mapping
For apollolake the mapping between LEDs and GPIO pins was off because of
a refactoring when we introduced a new device model.
In addition to the reordering the indices in the lookup table need to be
updated as well.

Fixes: a97126265d ("leds: simatic-ipc-leds-gpio: add new model 227G")
Signed-off-by: Henning Schild <henning.schild@siemens.com>
Link: https://lore.kernel.org/r/20221024092027.4529-1-henning.schild@siemens.com
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2022-10-24 11:32:10 +02:00
..
Kconfig leds: simatic-ipc-leds-gpio: Add GPIO version of Siemens driver 2022-07-14 10:50:43 +01:00
Makefile leds: simatic-ipc-leds-gpio: Add GPIO version of Siemens driver 2022-07-14 10:50:43 +01:00
simatic-ipc-leds-gpio.c leds: simatic-ipc-leds-gpio: fix incorrect LED to GPIO mapping 2022-10-24 11:32:10 +02:00
simatic-ipc-leds.c leds: simatic-ipc-leds-gpio: Add GPIO version of Siemens driver 2022-07-14 10:50:43 +01:00