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)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 23 Oct 2012 08:35:10 +0000 (10:35 +0200)
commitb4dd784ba8af03bf1f9ee5118c792d7abd4919bd
tree91207cfe3eb4001df38c5e60489a225d27855be3
parent268300be0e1a0b06582af55251294b268c3d4654
pinctrl: fix missing unlock on error in pinctrl_groups_show()

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

Cc: stable@kernel.org
Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/core.c