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)
commitc2f6d059abfc29822af732e4da70813a5b6fd9cd
tree90a0c1330f41595bb16f539831c9c8bbac2acf94
parent6e9b1c351dd66ab3d5ecbec44aa1e0b4f576e913
pinctrl: nomadik: 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-nomadik.c