diff options
author | Charulatha V <charu@ti.com> | 2011-05-05 16:28:01 +0200 |
---|---|---|
committer | Tarun Kanti DebBarma <tarun.kanti@ti.com> | 2012-02-06 09:43:40 +0100 |
commit | 03e128ca35e5da22e9e65ec8ab158ec0e905fdea (patch) | |
tree | 2c1a95e5a8dd50429291f27a537e6b8cfadf22e5 /arch/arm/mach-omap2/gpio.c | |
parent | Linux 3.3-rc2 (diff) | |
download | linux-03e128ca35e5da22e9e65ec8ab158ec0e905fdea.tar.xz linux-03e128ca35e5da22e9e65ec8ab158ec0e905fdea.zip |
gpio/omap: remove dependency on gpio_bank_count
The gpio_bank_count is the count of number of GPIO devices in a SoC. Remove this
dependency from the driver by using list. Also remove the dependency on array of
pointers to gpio_bank struct of all GPIO devices.
Signed-off-by: Charulatha V <charu@ti.com>
Reviewed-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Acked-by: Tony Lindgren <tony@atomide.com>
Reviewed-by: Kevin Hilman <khilman@ti.com>
Signed-off-by: Kevin Hilman <khilman@ti.com>
Diffstat (limited to 'arch/arm/mach-omap2/gpio.c')
-rw-r--r-- | arch/arm/mach-omap2/gpio.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/gpio.c b/arch/arm/mach-omap2/gpio.c index 8cbfbc2918ce..07ac64850746 100644 --- a/arch/arm/mach-omap2/gpio.c +++ b/arch/arm/mach-omap2/gpio.c @@ -111,7 +111,6 @@ static int omap2_gpio_dev_init(struct omap_hwmod *oh, void *unused) omap_device_disable_idle_on_suspend(pdev); - gpio_bank_count++; return 0; } |