]> git.karo-electronics.de Git - karo-tx-linux.git/commit
pinctrl: fix missing unlock on error in pinctrl_groups_show()
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Mon, 22 Oct 2012 04:58:09 +0000 (12:58 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 28 Oct 2012 17:56:15 +0000 (10:56 -0700)
commit651d36d9fc0dc6aef0889bdf8321bb8870782141
treeb2554a055d3c49c3c8671762b2412825dfd9bb57
parent49d14e6bc5f7a8ff3f581f9399f0992622c35556
pinctrl: fix missing unlock on error in pinctrl_groups_show()

commit b4dd784ba8af03bf1f9ee5118c792d7abd4919bd upstream.

Add the missing unlock on the error handle path in function
pinctrl_groups_show().

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/pinctrl/core.c