pinctrl: nomadik: refactor DT parser to take two paths
authorLinus Walleij <linus.walleij@linaro.org>
Mon, 29 Sep 2014 14:54:14 +0000 (16:54 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 29 Sep 2014 14:54:14 +0000 (16:54 +0200)
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-nomadik.c