pinctrl: abx500: refactor DT parser to take two paths
authorLinus Walleij <linus.walleij@linaro.org>
Tue, 30 Sep 2014 09:22:07 +0000 (11:22 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 30 Sep 2014 09:23:28 +0000 (11:23 +0200)
commit259145feff723cd65fcf53156bdd7a11816b1e31
tree0a682bbfd9666bf8594976d60bfe2b9170cab4f4
parentb07f92a220fa4df01e7feb1791245882249ba200
pinctrl: abx500: refactor DT parser to take two paths

We refactor the DT parser to look for either a config or a
function and then look for further nodes and reserve maps,
not the two things mixed up like prior to this patch.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/nomadik/pinctrl-abx500.c