OSDN Git Service

gpio: ml-ioh: use resource management for irqs
authorBartosz Golaszewski <bgolaszewski@baylibre.com>
Sat, 4 Mar 2017 16:23:33 +0000 (17:23 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 15 Mar 2017 10:16:34 +0000 (11:16 +0100)
commite971ac9a564a4f3fbaeaae111079837928226870
tree402b52aa59c79e6d7cc467ae77aa4b239118728f
parentf57f3e60038358a903d5d867f9cb688e1e8d9142
gpio: ml-ioh: 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-ml-ioh.c