]> git.baikalelectronics.ru Git - kernel.git/commit
gpio: sta2x11: use resource management for irqs
authorBartosz Golaszewski <bgolaszewski@baylibre.com>
Sat, 4 Mar 2017 16:23:40 +0000 (17:23 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 15 Mar 2017 10:16:38 +0000 (11:16 +0100)
commit5ff6a394692678b9c294cb0dd0f29bb78d4a0082
tree9f3d1f85b99f18dc888598c81aab9165df990b1c
parentb4b6556fd838d06afab3a7a4d37107530c5b5bc2
gpio: sta2x11: 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-sta2x11.c