pinctrl: sirf: move sgpio lock into state container
authorLinus Walleij <linus.walleij@linaro.org>
Wed, 23 Apr 2014 21:13:01 +0000 (23:13 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 9 Apr 2015 08:16:13 +0000 (10:16 +0200)
commit1dfe0d159dc7f7b6d1734b2010aabda2bbe87d5a
tree0b3b568261230afba27e267a836fa5e306209349
parent7414b0993cd020aea14574065c28b55f3f849688
pinctrl: sirf: move sgpio lock into state container

Instead of referring to a global static variable for the sgpio
locking, use the state container to contain the lock.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/sirf/pinctrl-sirf.c