]> git.baikalelectronics.ru Git - kernel.git/commit
gpio: ep93xx: Cut gpio_to_irq() usage
authorLinus Walleij <linus.walleij@linaro.org>
Wed, 22 Aug 2018 20:41:10 +0000 (22:41 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 29 Aug 2018 07:09:06 +0000 (09:09 +0200)
commit945749c8345755f2940946c03c249ecfadea6cf6
tree8ee669eb809271180677f29fbcca3de2f7d7c3b7
parent46d331ac0d4f1b2cb8c352a88f7493a2a56aa568
gpio: ep93xx: Cut gpio_to_irq() usage

This removes the callback into the gpiolib creating a
circular call to convert between GPIO numbers and IRQs
and pushes the whole business into the driver, just
using an array of IRQ bases for the three IRQ capable
ports.

This way we get rid of including <linux/gpio.h> that
no driver should include.

Acked-by: Alexander Sverdlin <alexander.sverdlin@gmail.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-ep93xx.c