]> git.karo-electronics.de Git - karo-tx-linux.git/commit
gpio/omap: make gpio_context part of gpio_bank structure
authorCharulatha V <charu@ti.com>
Mon, 18 Apr 2011 15:06:51 +0000 (15:06 +0000)
committerTarun Kanti DebBarma <tarun.kanti@ti.com>
Mon, 6 Feb 2012 08:43:40 +0000 (14:13 +0530)
commit6d62e216b2ccbb8176dca73b6899b12a417bb22d
treef52895f475b0be9684056fb8bee75bd273f847ac
parent0cde8d03dd297fa8e7e88cedeb498d0ed5b7776d
gpio/omap: make gpio_context part of gpio_bank structure

Currently gpio_context array used to save gpio bank's context, is used only for
OMAP3 architecture. Move gpio_context as part of gpio_bank structure so that it
can be specific to each gpio bank and can be used for any OMAP architecture

Signed-off-by: Charulatha V <charu@ti.com>
Reviewed-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Reviewed-by: Kevin Hilman <khilman@ti.com>
Signed-off-by: Kevin Hilman <khilman@ti.com>
drivers/gpio/gpio-omap.c