pinctrl: st: st_pctl_dt_parse_groups simplify expression
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Sat, 5 Nov 2016 14:35:15 +0000 (15:35 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 8 Nov 2016 13:18:03 +0000 (14:18 +0100)
commit95bdb0ea3668d86513376e0e88e88f5c0202acba
treefa75ff897af3d093d16587a45e0d0f3b4bd22f66
parentfdcf83552ab1051f3a0b71a7d5c2e242f97b4157
pinctrl: st: st_pctl_dt_parse_groups simplify expression

for_each_property_of_node(pins, pp) checks that pp is not NULL.
So there is no need to check it inside the loop.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Acked-by: Patrice Chotard <patrice.chotard@st.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinctrl-st.c