pinctrl: simplify the re-enable old state code in pinctrl_select_state
authorRichard Genoud <richard.genoud@gmail.com>
Fri, 29 Mar 2013 09:03:27 +0000 (10:03 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 3 Apr 2013 12:38:27 +0000 (14:38 +0200)
Instead of just enabling the settings that were disabled in the 1st
loop, it's simpler to recall pinctrl_select_state with the old state.

Signed-off-by: Richard Genoud <richard.genoud@gmail.com>
Reviewed-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>

No differences found