]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitcca50eb42f802747ce089d0c2c9ff19ca860de47
tree9d940ac3f9ea7d25ef85b7981836326b91b58ce1
parent34c1d4292b89aa7b2e6037975b3fc921e827156d
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