]> git.baikalelectronics.ru Git - kernel.git/commit
gpio: Retire the explicit gpio irqchip code
authorLinus Walleij <linus.walleij@linaro.org>
Mon, 19 Oct 2020 13:40:46 +0000 (15:40 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 28 Oct 2020 14:50:06 +0000 (15:50 +0100)
commite6a016d0cc4074c00ecc2fe48f2a34d54c3449ca
tree229b62bca7a62d73ddd61ddcd1b23ea637ec0249
parent5b79be4f631940fc05afd61c8020c079e98a49d2
gpio: Retire the explicit gpio irqchip code

Now that all gpiolib irqchip users have been over to use
the irqchip template, we can finally retire the old code
path and leave just one way in to the irqchip: set up the
template when registering the gpio_chip. For a while
we had two code paths for this which was a bit confusing.

This brings this work to a conclusion, there is now one
way of doing this.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Cc: Thierry Reding <thierry.reding@gmail.com>
Link: https://lore.kernel.org/r/20201019134046.65101-1-linus.walleij@linaro.org
Documentation/driver-api/gpio/driver.rst
drivers/gpio/TODO
drivers/gpio/gpiolib.c
include/linux/gpio/driver.h