gpio: xlp: use resource management for irqs
authorBartosz Golaszewski <bgolaszewski@baylibre.com>
Sat, 4 Mar 2017 16:23:34 +0000 (17:23 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 15 Mar 2017 10:16:35 +0000 (11:16 +0100)
commit31bd86d9834fc1fb5bd00247358754bebabf0639
treec0303aeacf7e3556588553a77a552679d54e774b
parente971ac9a564a4f3fbaeaae111079837928226870
gpio: xlp: use resource management for irqs

Use the resource managed variant of irq_alloc_descs() and remove the
code manually freeing allocated interrupt descriptors.

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