pinctrl: remove mutex lock in groups show
authorHaojian Zhuang <haojian.zhuang@gmail.com>
Thu, 18 Oct 2012 09:07:01 +0000 (17:07 +0800)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 18 Oct 2012 18:27:31 +0000 (20:27 +0200)
commit7ae9d71e8df27a3ab60a05ae3add08728debc09c
tree79afd74f0c1b57146cf69506b9ff6b6c56abc3f2
parenta03690e44468dcd3088f6600ab036d17bd2130ff
pinctrl: remove mutex lock in groups show

Mutex is locked duplicatly by pinconf_groups_show() and
pin_config_group_get(). It results dead lock. So avoid to lock mutex
in pinconf_groups_show().

Cc: stable@kernel.org
Signed-off-by: Haojian Zhuang <haojian.zhuang@gmail.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinconf.c