ARM: s3c24xx: leds: Convert to use GPIO descriptors
authorLinus Walleij <linus.walleij@linaro.org>
Wed, 8 Jul 2020 07:11:49 +0000 (09:11 +0200)
committerKrzysztof Kozlowski <krzk@kernel.org>
Thu, 9 Jul 2020 07:56:14 +0000 (09:56 +0200)
commitf7f611f2b1dc69547d425de0daeac548add2c761
treea9bf264746e5c3741b8190cf5ac34d476f340cca
parentea9dd8f61c8a890843f68e8dc0062ce78365aab8
ARM: s3c24xx: leds: Convert to use GPIO descriptors

This converts the s3c24xx LED driver to use GPIO descriptors
and also modify all board files to account for these changes
by registering the appropriate GPIO tables for each board.

The driver was using a custom flag to indicate open drain
(tristate) but this can be handled by standard descriptor
machine tables.

The driver was setting non-pull-up for the pin using the custom
S3C24xx GPIO API, but this is a custom pin control system used
by the S3C24xx and no generic GPIO function, so this has simply
been pushed back into the respective board files.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Acked-by: Jacek Anaszewski <jacek.anaszewski@gmail.com>
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
arch/arm/mach-s3c24xx/common-smdk.c
arch/arm/mach-s3c24xx/mach-mini2440.c
arch/arm/mach-s3c24xx/mach-n30.c
arch/arm/mach-s3c24xx/mach-qt2410.c
arch/arm/mach-s3c24xx/mach-vr1000.c
drivers/leds/leds-s3c24xx.c
include/linux/platform_data/leds-s3c24xx.h