gpio: twl4030: use devm_irq_alloc_descs()
authorBartosz Golaszewski <bgolaszewski@baylibre.com>
Sat, 4 Mar 2017 16:23:30 +0000 (17:23 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 15 Mar 2017 10:16:32 +0000 (11:16 +0100)
commit9bc81137e8082eaa73f1b116e1df2c75673d64df
tree5d028d00f92d58aa6998240c05e7f5a77b885e04
parent62a7ca0735f47e5799a892daab39be3c67979de9
gpio: twl4030: use devm_irq_alloc_descs()

This driver never frees the irq descriptors it allocates. Fix it by
using a resource managed variant of irq_alloc_descs().

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