ARM: omap1: Exorcise the legacy GPIO header
authorLinus Walleij <linus.walleij@linaro.org>
Sun, 30 Apr 2023 17:56:37 +0000 (19:56 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 24 May 2023 13:01:53 +0000 (15:01 +0200)
After fixing all the offending users referencing the global GPIO
numberspace in OMAP1, a few sites still remain including the
legacy <linus/gpio.h> header for no reason.

Delete the last remaining users, and OMAP1 is free from legacy
GPIO dependencies.

Fixes: 92bf78b33b0b ("gpio: omap: use dynamic allocation of base")
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
arch/arm/mach-omap1/devices.c
arch/arm/mach-omap1/gpio15xx.c
arch/arm/mach-omap1/gpio16xx.c
arch/arm/mach-omap1/irq.c

index 5304699c7a97eeab2629392958d9f73da6bbf6aa..8b2c5f911e973823cf29d2556c44f149a7821e93 100644 (file)
@@ -6,7 +6,6 @@
  */
 
 #include <linux/dma-mapping.h>
-#include <linux/gpio.h>
 #include <linux/module.h>
 #include <linux/kernel.h>
 #include <linux/init.h>
index 61fa26efd865340312e12b6fc914c85fbcb6df17..6724af4925f24b573b6b657d04580ec42db0cd43 100644 (file)
@@ -8,7 +8,6 @@
  *     Charulatha V <charu@ti.com>
  */
 
-#include <linux/gpio.h>
 #include <linux/platform_data/gpio-omap.h>
 #include <linux/soc/ti/omap1-soc.h>
 #include <asm/irq.h>
index cf052714b3f8a65215d281df2e327ca4f4badbe9..55acec22fef4e73f20935473602ef6cb2f4f379c 100644 (file)
@@ -8,7 +8,6 @@
  *     Charulatha V <charu@ti.com>
  */
 
-#include <linux/gpio.h>
 #include <linux/platform_data/gpio-omap.h>
 #include <linux/soc/ti/omap1-io.h>
 
index bfc7ab010ae28d147d9bc6fec79c8749462bda1f..af06a8753fdc397db32204b26d45c935fc486787 100644 (file)
@@ -35,7 +35,6 @@
  * with this program; if not, write  to the Free Software Foundation, Inc.,
  * 675 Mass Ave, Cambridge, MA 02139, USA.
  */
-#include <linux/gpio.h>
 #include <linux/init.h>
 #include <linux/module.h>
 #include <linux/sched.h>