[RFC PATCH 11/18] OMAP: GPIO: Remove dependency on gpio_bank_count

2011-04-22 Thread Charulatha V
gpio_bank_count is the count of number of GPIO devices in a SoC. Remove this dependency from the driver. Also remove the dependency on array of pointers to gpio_bank struct of all GPIO devices. The cpu_is*() checks used in omap2_gpio_prepare_for_idle() and omap2_gpio_resume_after_idle() would be

Re: [RFC PATCH 11/18] OMAP: GPIO: Remove dependency on gpio_bank_count

2011-04-22 Thread Kevin Hilman
Charulatha V ch...@ti.com writes: gpio_bank_count is the count of number of GPIO devices in a SoC. Remove this dependency from the driver. Also remove the dependency on array of pointers to gpio_bank struct of all GPIO devices. The cpu_is*() checks used in omap2_gpio_prepare_for_idle() and