leds: simatic-ipc-leds-gpio: Move two extra gpio pins into another table
authorHenning Schild <henning.schild@siemens.com>
Wed, 24 May 2023 12:46:26 +0000 (14:46 +0200)
committerLee Jones <lee@kernel.org>
Thu, 8 Jun 2023 17:29:42 +0000 (18:29 +0100)
commit799c0197aa5f732cefa8ca6285bd611b5cf45996
tree0ddecf820d339506ebbd4f185a8a129d9c52308c
parent8aee49eb939daeedab96a9a38e956ff9c81d4f08
leds: simatic-ipc-leds-gpio: Move two extra gpio pins into another table

There are two special pins needed to init the LEDs. We used to have them
at the end of the gpiod_lookup table to give to "leds-gpio". A cleaner
way is to have a dedicated table for the special pins.

Signed-off-by: Henning Schild <henning.schild@siemens.com>
Acked-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Lee Jones <lee@kernel.org>
Link: https://lore.kernel.org/r/20230524124628.32295-3-henning.schild@siemens.com
drivers/leds/simple/simatic-ipc-leds-gpio.c