gpio/omap: move bank width into struct gpio_bank
authorKevin Hilman <khilman@ti.com>
Thu, 21 Apr 2011 16:23:00 +0000 (09:23 -0700)
committerKevin Hilman <khilman@ti.com>
Thu, 16 Jun 2011 18:13:13 +0000 (11:13 -0700)
commitd5f46247e77a63bc3bb4b3f979281e5c700c218e
tree9d940ac3f9ea7d25ef85b7981836326b91b58ce1
parentbdba15db4d81940776ab96ea9f558b7388b0f7fe
gpio/omap: move bank width into struct gpio_bank

Rather than having a file-global bank_width variable, move it into
struct gpio_bank so it can be bank-specific.   Note the bank width
is already passed per-bank via platform_data, so current code would
be incorrect if any banks had different width.

Signed-off-by: Kevin Hilman <khilman@ti.com>
drivers/gpio/gpio-omap.c