gpio: dw: Add a trailing underscore to generated name
authorSean Anderson <seanga2@gmail.com>
Mon, 14 Sep 2020 15:02:00 +0000 (11:02 -0400)
committerTom Rini <trini@konsulko.com>
Thu, 8 Oct 2020 15:42:36 +0000 (11:42 -0400)
commit18dbb7b335c2b4d14f2d72d77bdd60c6e5ebd25f
tree12cc7bb5d2c6143b353385500b5671c9a5c2fcbb
parentaf551daf9e0ab9c796015031beb02e5d62d29598
gpio: dw: Add a trailing underscore to generated name

Previously, if there was no bank-name property, it was easy to have
confusing gpio names like "gpio1@08", instead of "gpio1@0_8". This patch
follows the example of the sifive gpio driver.

Signed-off-by: Sean Anderson <seanga2@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/gpio/dwapb_gpio.c