gpio: mxs: Unmap region obtained by of_iomap
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Wed, 5 Oct 2016 09:38:36 +0000 (15:08 +0530)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 20 Oct 2016 12:14:11 +0000 (14:14 +0200)
commit44df08198bc98d75085bb0ff4b54bf43e0bc40c0
tree19b825eed4359d04fc6cec1f2b632ebeaf04618d
parent15e2a357876910623953a7c9b071096e6d976ca9
gpio: mxs: Unmap region obtained by of_iomap

Free memory mapping, if mxs_gpio_probe is not successful.

Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-mxs.c