gpiolib: unlock on error in gpio_export()
authorDan Carpenter <dan.carpenter@oracle.com>
Fri, 26 Oct 2012 06:59:43 +0000 (09:59 +0300)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 26 Oct 2012 07:35:17 +0000 (09:35 +0200)
commit529f2ad5e374f61987a8312603963c61d75a890a
treed779beedcbd3895a77526792351d3ce8eb67e7c0
parent80b0a6029272247f19146bf8f88e5d4bba94cba5
gpiolib: unlock on error in gpio_export()

We need to unlock here before returning.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpiolib.c