i2c: uniphier: use devm_get_addr() to get base address
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Thu, 24 Mar 2016 13:32:40 +0000 (22:32 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Thu, 31 Mar 2016 15:17:13 +0000 (00:17 +0900)
commit336399fb63cd43aa9d3c1dc8c71c9a5e0c1270d9
tree3dd44593f5d5753768984d82bdb629a478bdf348
parent45a3b1fd6ca524bebf5b9ce771ad1fb12f3514ce
i2c: 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/i2c/i2c-uniphier-f.c
drivers/i2c/i2c-uniphier.c