mfd: arizona: Only attempt to parse DT if platform data was not passed
authorLee Jones <lee.jones@linaro.org>
Fri, 27 Sep 2013 13:25:55 +0000 (14:25 +0100)
committerLee Jones <lee.jones@linaro.org>
Wed, 23 Oct 2013 15:21:41 +0000 (16:21 +0100)
If platform data is passed when probing the device then it should take
precedence over Device Tree. This patch saves cycles in the pdata case
and prevents error messages when DT is not passed.

Reported-by: Mark Brown <broonie@linaro.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/arizona-core.c

Simple merge