gpio: pch: use devres for irq generic chip
authorBartosz Golaszewski <brgl@bgdev.pl>
Wed, 9 Aug 2017 12:25:05 +0000 (14:25 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Sun, 20 Aug 2017 22:08:52 +0000 (00:08 +0200)
commite0fc5a1b8ea3040936a89ae2b85321e06a78b3af
tree9c5ab766f28daf465e4a2114a5708021c64e0b3d
parent469d59430f15e1649771ba0e816dd6c9afb39fcc
gpio: pch: 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-pch.c