From: Rob Herring Date: Wed, 7 May 2014 20:17:26 +0000 (-0500) Subject: of/platform: fix device naming for non-translatable addresses X-Git-Tag: omap-for-v3.16/fixes-against-rc1~56^2~21^2~6^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b8acee3ef83f0fc50e57a3d4c91234982befda95;p=pandora-kernel.git of/platform: fix device naming for non-translatable addresses 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: "Ivan T. Ivanov" Cc: Josh Cartwright Cc: Courtney Cavin Cc: Bjorn Andersson Cc: Grant Likely Signed-off-by: Rob Herring Tested-by: Ivan T. Ivanov Tested-by: Frank Rowand Reviewed-by: Frank Rowand --- Reading git-diff-tree failed