]> git.baikalelectronics.ru Git - kernel.git/commit
gpio: davinci: use devm_irq_alloc_descs()
authorBartosz Golaszewski <bgolaszewski@baylibre.com>
Sat, 4 Mar 2017 16:23:36 +0000 (17:23 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 15 Mar 2017 10:16:36 +0000 (11:16 +0100)
commit04d04b751035667323ce8a26ed4f8807a22a944b
tree985eaddf47cfe9ae977cb96e5439841d779b0854
parent7efec3f9afb1892cda51e8b9bf16d9874a62c986
gpio: davinci: use devm_irq_alloc_descs()

This driver never frees the interrupt descriptors it allocates. Fix
it by using the resource managed version of irq_alloc_descs().

Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Acked-by: Keerthy <j-keerthy@ti.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-davinci.c