]> git.baikalelectronics.ru Git - kernel.git/commit
gpio: aspeed: Make bank names strings
authorJoel Stanley <joel@jms.id.au>
Mon, 23 Jan 2017 05:26:06 +0000 (15:56 +1030)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 26 Jan 2017 13:31:48 +0000 (14:31 +0100)
commitbcc767352539081a9c22dca774258a3930036cf6
tree8e61e1bfc361e768e406a5498d51bccbf04f9df1
parentb3fd41396568b957adedd27ae83b86fe3b2e3eef
gpio: aspeed: Make bank names strings

The Aspeed SoCs have more GPIOs than can be represented with A-Z. The
documentation uses two letter names such as AA and AB, so make the names
a three-character array in the bank struct to accommodate this.

Signed-off-by: Joel Stanley <joel@jms.id.au>
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-aspeed.c