gpio: pch: use resource management for irqs
authorBartosz Golaszewski <bgolaszewski@baylibre.com>
Sat, 4 Mar 2017 16:23:32 +0000 (17:23 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 15 Mar 2017 10:16:33 +0000 (11:16 +0100)
commitf57f3e60038358a903d5d867f9cb688e1e8d9142
tree9dfc133f4d47ec02c9f9ab8797586c6d2953c0eb
parent2ed36f30139f773e3c99eeca2307b7a6596f4b90
gpio: pch: use resource management for irqs

Use device resource managed variants of irq_alloc_descs() and
request_irq() and remove the code manually freeing irq resources.

Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-pch.c