-
由 Rob Herring 提交于
Using non-translatable addresses in platform device names is wrong because they may not be globally unique. Just use the default naming with a global index if the address cannot be translated instead. of_can_translate_address has the same checks as of_translate_address, so we can remove it here as well. Reported-by: N"Ivan T. Ivanov" <iivanov@mm-sol.com> Cc: Josh Cartwright <joshc@codeaurora.org> Cc: Courtney Cavin <courtney.cavin@sonymobile.com> Cc: Bjorn Andersson <bjorn@kryo.se> Cc: Grant Likely <grant.likely@linaro.org> Signed-off-by: NRob Herring <robh@kernel.org> Tested-by: NIvan T. Ivanov <iivanov@mm-sol.com> Tested-by: NFrank Rowand <frank.rowand@sonymobile.com> Reviewed-by: NFrank Rowand <frank.rowand@sonymobile.com>
b8acee3e