diff options
author | Janusz Krzysztofik <jmkrzyszt@gmail.com> | 2018-11-07 21:17:44 +0100 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2018-11-29 12:04:10 -0800 |
commit | 771e53c4d1a1ae0cff7e43a551bcd358910e619f (patch) | |
tree | 7d836685a23bacee4384040f91fdd987836e50e6 /arch/arm/mach-omap1/board-ams-delta.c | |
parent | 8b686d0e34e3c36e9a4cd1710253fd028ed60f53 (diff) | |
download | lwn-771e53c4d1a1ae0cff7e43a551bcd358910e619f.tar.gz lwn-771e53c4d1a1ae0cff7e43a551bcd358910e619f.zip |
ARM: OMAP1: ams-delta: Drop board specific global GPIO numbers
As all users of the board specific GPIO pins have been converted from
legacy integer-based to descriptor-based interface, there is no longer
a need to maintain statically assigned GPIO pin numbers. Drop support
for that.
Signed-off-by: Janusz Krzysztofik <jmkrzyszt@gmail.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap1/board-ams-delta.c')
-rw-r--r-- | arch/arm/mach-omap1/board-ams-delta.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/arm/mach-omap1/board-ams-delta.c b/arch/arm/mach-omap1/board-ams-delta.c index 19e0c071d675..a6986a83a916 100644 --- a/arch/arm/mach-omap1/board-ams-delta.c +++ b/arch/arm/mach-omap1/board-ams-delta.c @@ -167,7 +167,6 @@ static struct omap_usb_config ams_delta_usb_config __initdata = { .pins[0] = 2, }; -#define LATCH1_GPIO_BASE 232 #define LATCH1_NGPIO 8 static struct resource latch1_resources[] = { @@ -183,7 +182,6 @@ static struct resource latch1_resources[] = { static struct bgpio_pdata latch1_pdata = { .label = LATCH1_LABEL, - .base = LATCH1_GPIO_BASE, .ngpio = LATCH1_NGPIO, }; @@ -219,7 +217,6 @@ static struct resource latch2_resources[] = { static struct bgpio_pdata latch2_pdata = { .label = LATCH2_LABEL, - .base = AMS_DELTA_LATCH2_GPIO_BASE, .ngpio = AMS_DELTA_LATCH2_NGPIO, }; |