serial: uniphier: use devm_get_addr() to get base address
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Thu, 24 Mar 2016 13:32:38 +0000 (22:32 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Thu, 31 Mar 2016 15:17:07 +0000 (00:17 +0900)
commitb37a1ccea22d4c700589f716d46dbe4a3c268db1
treee0b280c362ac9aedd76b7639de72e8cc955575f4
parent61a4f5bd61349b6ab2a4fed926aa203624f9494d
serial: 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/serial/serial_uniphier.c