gpio: zynq: Fix the error path
authorShubhrajyoti Datta <shubhrajyoti.datta@xilinx.com>
Mon, 4 Apr 2016 18:14:06 +0000 (23:44 +0530)
committerLinus Walleij <linus.walleij@linaro.org>
Sat, 9 Apr 2016 18:14:36 +0000 (20:14 +0200)
commit457018dc4a836921515176f84c260c89886d47a9
tree44a6c658e2524037ac2f6194464013a10e67c982
parent9a8be51cec3c0fc691eeda3800e275077e827ce3
gpio: zynq: Fix the error path

pm_runtime_disable is called only in remove it is missed
out in the error path.
Fix the same.

Signed-off-by: Shubhrajyoti Datta <shubhraj@xilinx.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-zynq.c