summaryrefslogtreecommitdiffstats
path: root/drivers/pinctrl/pinctrl-nomadik.c
diff options
context:
space:
mode:
authorRichard Genoud <richard.genoud@gmail.com>2013-03-29 10:03:27 +0100
committerLinus Walleij <linus.walleij@linaro.org>2013-04-03 14:38:27 +0200
commit385d94246b05f7c06d7ecb5215087e5ebddbf1e6 (patch)
tree955f0a8ea94bba509781448392fd85f1f085157e /drivers/pinctrl/pinctrl-nomadik.c
parentaf6061777131639d7d2687ce542b6052a6510c25 (diff)
downloadop-kernel-dev-385d94246b05f7c06d7ecb5215087e5ebddbf1e6.zip
op-kernel-dev-385d94246b05f7c06d7ecb5215087e5ebddbf1e6.tar.gz
pinctrl: simplify the re-enable old state code in pinctrl_select_state
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>
Diffstat (limited to 'drivers/pinctrl/pinctrl-nomadik.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud