[PATCH] ARM: davinci: remove gpio data from davinci_soc_info

Grygorii Strashko grygorii.strashko at ti.com
Tue Mar 18 12:51:20 EDT 2014


GPIO's related fields can be safely removed from davinci_soc_info now,
since their last user, tnetv107x gpio driver, was removed already by
commit "gpio: remove obsolete tnetv107x driver".

CC: Sekhar Nori <nsekhar at ti.com>
CC: Kevin Hilman <khilman at linaro.org>
CC: Arnd Bergmann <arnd at arndb.de>

Signed-off-by: Grygorii Strashko <grygorii.strashko at ti.com>
---
Compile time tested only.

 arch/arm/mach-davinci/include/mach/common.h |    9 ---------
 1 file changed, 9 deletions(-)

diff --git a/arch/arm/mach-davinci/include/mach/common.h b/arch/arm/mach-davinci/include/mach/common.h
index 0b3c169..8807e3b 100644
--- a/arch/arm/mach-davinci/include/mach/common.h
+++ b/arch/arm/mach-davinci/include/mach/common.h
@@ -36,8 +36,6 @@ struct davinci_timer_info {
 	unsigned int			clocksource_id;
 };
 
-struct davinci_gpio_controller;
-
 /*
  * SoC info passed into common davinci modules.
  *
@@ -65,13 +63,6 @@ struct davinci_soc_info {
 	unsigned long			intc_irq_num;
 	u32				*intc_host_map;
 	struct davinci_timer_info	*timer_info;
-	int				gpio_type;
-	u32				gpio_base;
-	unsigned			gpio_num;
-	unsigned			gpio_irq;
-	unsigned			gpio_unbanked;
-	struct davinci_gpio_controller	*gpio_ctlrs;
-	int				gpio_ctlrs_num;
 	struct emac_platform_data	*emac_pdata;
 	dma_addr_t			sram_dma;
 	unsigned			sram_len;
-- 
1.7.9.5




More information about the linux-arm-kernel mailing list