gpio: omap_gpio: Name GPIO's by bank and index with DM_GPIO
authorAdam Ford <aford173@gmail.com>
Tue, 12 Jun 2018 01:05:38 +0000 (20:05 -0500)
committerTom Rini <trini@konsulko.com>
Mon, 18 Jun 2018 18:43:14 +0000 (14:43 -0400)
commitb4c3fb087b06ec56cc325e2e73f8f497be89d129
treef835d3cbb1e6e2e751af7ae356e9fa9e2ddba7cc
parentbd8a9c14c91c61980e1f68ac1e6e1f22632f4c98
gpio: omap_gpio: Name GPIO's by bank and index with DM_GPIO

There are multiple GPIO banks with up to 32 pins / bank. When
using 'gpio status -a' to read the pins, this patch displays
both GPIO<bank>_<index> similar to how the device trees
display in addition to displaying  gpio_#

Signed-off-by: Adam Ford <aford173@gmail.com>
drivers/gpio/omap_gpio.c