]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitcf2bbd09dfde0c2765bbc325660442d4f34fc0d1
tree94d110c29650c6b3529f3fbdfeecbe128ed96ddf
parentadecd276613781c48a7461d344510393e9c91930
mfd: arizona: Only attempt to parse DT if platform data was not passed

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