pinctrl: samsung: Distinguish between pin group and bank nodes
authorTomasz Figa <t.figa@samsung.com>
Thu, 11 Oct 2012 08:11:11 +0000 (10:11 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 15 Oct 2012 07:10:11 +0000 (09:10 +0200)
commit724e56a48c05dacc63ceb535571eec2ad6949368
tree286975fbff43ba769456b2e36f42c8a526727543
parent3a232ba86f3a93217ac717306645c5c555429858
pinctrl: samsung: Distinguish between pin group and bank nodes

This patch modifies the loop iterating over all child nodes and parsing
pin groups to check whether the node is really a pin group node by
checking for existence of samsung,pins property.

This is a prerequisite for further patches adding additional subnodes to
the pinctrl node, required for per bank GPIO and interrupt specifiers.

Signed-off-by: Tomasz Figa <t.figa@samsung.com>
Reviewed-by: Kyungmin Park <kyungmin.park@samsung.com>
Acked-by: Thomas Abraham <thomas.abraham@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinctrl-samsung.c