gpio: sta2x11: use devres for irq generic chip
authorBartosz Golaszewski <brgl@bgdev.pl>
Wed, 9 Aug 2017 12:25:03 +0000 (14:25 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Sun, 20 Aug 2017 22:06:04 +0000 (00:06 +0200)
commit624b5a9c0bb4ba86d36ff989d0a09e2215637cbc
treed4f23a70e0cc776c3e00f2c13be5edec5958d97f
parenta6f5f1b95602f8173a3270d32ec0ee17c526ecce
gpio: sta2x11: 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-sta2x11.c