]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita07c847cbd2f580d8520dd7a54378b3e41a59caf
treec0303aeacf7e3556588553a77a552679d54e774b
parent70bf94ad4dfa1b7bcaad51cf45f69d41fc8eed45
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