]> git.ipfire.org Git - thirdparty/u-boot.git/commit
GPIO: omap_gpio: Fix gpio name names with device tree
authorAdam Ford <aford173@gmail.com>
Fri, 17 Aug 2018 19:37:58 +0000 (14:37 -0500)
committerTom Rini <trini@konsulko.com>
Wed, 12 Sep 2018 01:38:15 +0000 (21:38 -0400)
commit535f46dad920094df12b2d19f071db2e6a8ae0ab
treee801d809acebced3bb0326d31ebc0f8352ccebf8
parentabb205ded1fe77ea03ccf3c5938ec0ca524e630a
GPIO: omap_gpio: Fix gpio name names with device tree

The GPIO bank numbers do not appear in the device tree, so this
patch makes the gpio name based on the address
(ie gpio@49054000_31 vs gpio4_31)

adam

Signed-off-by: Adam Ford <aford173@gmail.com>
Tested-by: Derald D. Woods <woods.technical@gmail.com>
drivers/gpio/omap_gpio.c