gpio: sta2x11: use resource management for irqs
authorBartosz Golaszewski <bgolaszewski@baylibre.com>
Sat, 4 Mar 2017 16:23:40 +0000 (17:23 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 15 Mar 2017 10:16:38 +0000 (11:16 +0100)
commit7ad63c790bc725f60a8baf298be2cdfd1268469d
tree9f3d1f85b99f18dc888598c81aab9165df990b1c
parent8514b5439c90f077fadaf981b5f1aec9cde7be76
gpio: sta2x11: 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-sta2x11.c