leds: simatic-ipc-leds-gpio: Split up into multiple drivers
authorHenning Schild <henning.schild@siemens.com>
Wed, 24 May 2023 12:46:27 +0000 (14:46 +0200)
committerLee Jones <lee@kernel.org>
Thu, 8 Jun 2023 17:29:44 +0000 (18:29 +0100)
commit2f5d6fe37b97cabf5cb5fc2be9630e37e2820e94
treea4cc82124c49a20b37bd4178fc734491bd1b590f
parent799c0197aa5f732cefa8ca6285bd611b5cf45996
leds: simatic-ipc-leds-gpio: Split up into multiple drivers

In order to clearly describe the dependencies between the GPIO
controller drivers and the users the driver is split up into a core,
two drivers and a common header.

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-4-henning.schild@siemens.com
drivers/leds/simple/Makefile
drivers/leds/simple/simatic-ipc-leds-gpio-apollolake.c [new file with mode: 0644]
drivers/leds/simple/simatic-ipc-leds-gpio-core.c [new file with mode: 0644]
drivers/leds/simple/simatic-ipc-leds-gpio-f7188x.c [new file with mode: 0644]
drivers/leds/simple/simatic-ipc-leds-gpio.c [deleted file]
drivers/leds/simple/simatic-ipc-leds-gpio.h [new file with mode: 0644]
drivers/leds/simple/simatic-ipc-leds.c
drivers/platform/x86/simatic-ipc.c