pinctrl: exynos: Correct the detection of wakeup-eint node
authorTomasz Figa <t.figa@samsung.com>
Thu, 20 Sep 2012 22:34:01 +0000 (07:34 +0900)
committerKukjin Kim <kgene.kim@samsung.com>
Thu, 20 Sep 2012 22:34:01 +0000 (07:34 +0900)
commitc3ad056b26fe5d5be71b96371b0b2d00b2276ad3
tree6af9ffbf815600d85807ac98a37a488f47a39e5d
parent9759e2ebc4bc78c630ad952a288a53d131f1cb53
pinctrl: exynos: Correct the detection of wakeup-eint node

Current way of finding the wakeup-eint node scans the whole device tree
not only children of the pinctrl node, so it might detect a wakeup-eint
node of another pinctrl device.

This patch limits the scope of looking for nodes only to subnodes of the
pinctrl node.

Signed-off-by: Tomasz Figa <t.figa@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
drivers/pinctrl/pinctrl-exynos.c