]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
of/address: Don't throw errors on absent ranges properties
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 14 Nov 2014 06:58:23 +0000 (17:58 +1100)
committerGrant Likely <grant.likely@linaro.org>
Tue, 18 Nov 2014 16:59:06 +0000 (16:59 +0000)
commita0212ae0be5ba10b6e01b7121f86e391ae1927ae
tree3584f075f85f3b229c459be308d305c48a42ba26
parent43c0767e17ac70e494b6a381b3a20be6a1a75c70
of/address: Don't throw errors on absent ranges properties

The core always tries to translate any "reg" property to construct the platform
device names. This results in a pile of "OF: no ranges; cannot translate" errors
in dmesg whenever we expose things like i2c devices that cannot directly translate
to the MMIO space.

Turn this into a pr_debug instead

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Grant Likely <grant.likely@linaro.org>
drivers/of/address.c