RE: [PATCH v5 01/22] gpio/omap: remove dependency on gpio_bank_count

2011-08-29 Thread DebBarma, Tarun Kanti
[...] void omap2_gpio_prepare_for_idle(int off_mode) { - int i, c = 0; - int min = 0; - - if (cpu_is_omap34xx()) - min = 1; + int c = 0; + struct gpio_bank *bank; - for (i = min; i gpio_bank_count; i++) { - struct gpio_bank *bank

Re: [PATCH v5 01/22] gpio/omap: remove dependency on gpio_bank_count

2011-08-23 Thread Santosh
On Thursday 04 August 2011 04:34 PM, Tarun Kanti DebBarma wrote: From: Charulatha Vch...@ti.com 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