gpiolib: clear irq handler and data in one go
authorMartin Kaiser <martin@kaiser.cx>
Wed, 18 Oct 2017 16:32:47 +0000 (18:32 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 19 Oct 2017 20:32:41 +0000 (22:32 +0200)
commit5048f0aefb96fe3fd468002c879d7a5918336b1f
tree47e24f4f7e70fa15cf47e6c9cc1dbfb55d996db7
parent3ee9e605caea401b060a1f9f81343b8bd0952fbd
gpiolib: clear irq handler and data in one go

Replace the two separate calls for clearing the irqchip's chained handler
and its data with a single irq_set_chained_handler_and_data() call.

Signed-off-by: Martin Kaiser <martin@kaiser.cx>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpiolib.c