summaryrefslogtreecommitdiffstats
path: root/drivers/pinctrl/sirf
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2013-05-16 09:17:04 +0200
committerLinus Walleij <linus.walleij@linaro.org>2013-06-16 11:56:50 +0200
commit44d5f7bbead9e7fbc8731322d5f595d28ad219e9 (patch)
treeeca329d9a41c3f00407f5e4999dc47f1d9b8095a /drivers/pinctrl/sirf
parent3370dc916c90578107cc8485ac86e6d6dc81a88f (diff)
downloadtalos-obmc-linux-44d5f7bbead9e7fbc8731322d5f595d28ad219e9.tar.gz
talos-obmc-linux-44d5f7bbead9e7fbc8731322d5f595d28ad219e9.zip
pinctrl: sink pinctrldev_list_mutex
The pinctrldev_list_mutex is sinked into the functions that actually traverse the list and lock it there. The code makes much more sense in this way. All the callers are in non-performance critical paths and the code is way more readable this way. Also refactor the function get_pinctrl_dev_from_devname() to follow the design pattern of get_pinctrl_dev_from_of_node() which is slightly simpler. Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/sirf')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud