pinctrl: Quiet logging about missing DT nodes when not using DT
authorMark Brown <broonie@linaro.org>
Thu, 30 Jan 2014 18:57:20 +0000 (18:57 +0000)
committerStephane Desneux <stephane.desneux@open.eurogiciel.org>
Wed, 4 Feb 2015 10:12:57 +0000 (11:12 +0100)
commit17adedd809b7546ee175c507ed39f6f010fc4cff
tree487e1a6d3d9a9ec183cfc033adc15dab805ef276
parentc39d695dbfa2058234293a792f1b10d1d5887805
pinctrl: Quiet logging about missing DT nodes when not using DT

On systems which were not booted using DT it is entirely unsurprising that
device nodes don't have any DT information and this is going to happen for
every single device in the system. Make pinctrl be less chatty about this
situation by only logging in the case where we have DT.

Signed-off-by: Mark Brown <broonie@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
(cherry picked from commit 5d88dceac736a779fdf6208bbd0a06e81fe25300)
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
drivers/pinctrl/devicetree.c