gpio: omap: Give unique labels to each GPIO bank/chip
authorLinus Walleij <linus.walleij@linaro.org>
Fri, 29 Dec 2017 12:22:58 +0000 (13:22 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 3 Jan 2018 07:46:08 +0000 (08:46 +0100)
commit088413bc0bd5f5fb66ca22a19d66a49d7154ba4c
tree35c4a2e7633d32f2973c8c3a6fbf20f98a57cee7
parent156dd39219b159d03762af32f1a0acd05d0cd726
gpio: omap: Give unique labels to each GPIO bank/chip

As we need to add GPIO lookup tables to the OMAP platforms, we
need to reference each GPIO chip with a unique label. Use the GPIO
base to name each chip, "gpio-0-31", "gpio-32-63" etc.

Cc: Grygorii Strashko <grygorii.strashko@ti.com>
Cc: Santosh Shilimkar <ssantosh@kernel.org>
Cc: Kevin Hilman <khilman@kernel.org>
Cc: linux-omap@vger.kernel.org
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-omap.c