gpio: mxc: use devres for irq generic chip
authorBartosz Golaszewski <brgl@bgdev.pl>
Wed, 9 Aug 2017 12:25:06 +0000 (14:25 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Sun, 20 Aug 2017 22:09:33 +0000 (00:09 +0200)
commitdb5270acaae5b6d63ce1a6f053aeabc7a9c939bb
tree825d251cbad8619977bfe2eef3b8e83b0c7e627b
parente0fc5a1b8ea3040936a89ae2b85321e06a78b3af
gpio: mxc: use devres for irq generic chip

Use resource managed variants of irq_alloc_generic_chip() and
irq_setup_generic_chip().

Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-mxc.c