diff mbox series

ARM: omap1: Drop header on AMS Delta

Message ID 20230430094028.561451-1-linus.walleij@linaro.org
State New
Headers show
Series ARM: omap1: Drop header on AMS Delta | expand

Commit Message

Linus Walleij April 30, 2023, 9:40 a.m. UTC
The AMS Delta board uses GPIO descriptors exclusively and
does not have any dependencies on the legacy <linux/gpio.h>
header, so just drop it.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
---
 arch/arm/mach-omap1/board-ams-delta.c | 1 -
 1 file changed, 1 deletion(-)

Comments

Janusz Krzysztofik May 17, 2023, 10:37 p.m. UTC | #1
Dnia niedziela, 30 kwietnia 2023 11:40:28 CEST Linus Walleij pisze:
> The AMS Delta board uses GPIO descriptors exclusively and
> does not have any dependencies on the legacy <linux/gpio.h>
> header, so just drop it.
> 
> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>

Acked-by: Janusz Krzysztofik <jmkrzyszt@gmail.com>

Thanks,
Janusz

> ---
>  arch/arm/mach-omap1/board-ams-delta.c | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/arch/arm/mach-omap1/board-ams-delta.c b/arch/arm/mach-omap1/board-ams-delta.c
> index 9108c871d129..ac47ab9fe096 100644
> --- a/arch/arm/mach-omap1/board-ams-delta.c
> +++ b/arch/arm/mach-omap1/board-ams-delta.c
> @@ -11,7 +11,6 @@
>  #include <linux/gpio/driver.h>
>  #include <linux/gpio/machine.h>
>  #include <linux/gpio/consumer.h>
> -#include <linux/gpio.h>
>  #include <linux/kernel.h>
>  #include <linux/init.h>
>  #include <linux/input.h>
>
diff mbox series

Patch

diff --git a/arch/arm/mach-omap1/board-ams-delta.c b/arch/arm/mach-omap1/board-ams-delta.c
index 9108c871d129..ac47ab9fe096 100644
--- a/arch/arm/mach-omap1/board-ams-delta.c
+++ b/arch/arm/mach-omap1/board-ams-delta.c
@@ -11,7 +11,6 @@ 
 #include <linux/gpio/driver.h>
 #include <linux/gpio/machine.h>
 #include <linux/gpio/consumer.h>
-#include <linux/gpio.h>
 #include <linux/kernel.h>
 #include <linux/init.h>
 #include <linux/input.h>