gpio: uniphier: use devm_get_addr() to get base address
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Thu, 24 Mar 2016 13:32:41 +0000 (22:32 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Thu, 31 Mar 2016 15:17:19 +0000 (00:17 +0900)
commitbc82a1310fd00f18c1f68596751540459acafb8c
tree9b08dea4ec062bbf9d330d6fc9736b617aab8429
parent336399fb63cd43aa9d3c1dc8c71c9a5e0c1270d9
gpio: uniphier: use devm_get_addr() to get base address

Currently, fdtdec_get_addr_size() does not support the address
translation, so it cannot handle device trees with non-straight
"ranges" properties.  (This would be a problem with DTS for UniPhier
ARMv8 SoCs.)

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
drivers/gpio/gpio-uniphier.c