From: Geert Uytterhoeven Date: Thu, 5 Feb 2015 15:49:08 +0000 (+0100) Subject: gpio: pcf857x: Switch to use gpiolib irqchip helpers X-Git-Tag: omap-for-v4.1/fixes-rc1~104^2~57 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a39294bdf4b0;p=pandora-kernel.git gpio: pcf857x: Switch to use gpiolib irqchip helpers Switch the PCF857x GPIO driver to use the gpiolib irqchip helpers. This driver uses a nested threaded interrupt, hence handle_nested_irq() and gpiochip_set_chained_irqchip() must be used. Note that this removes the checks added in commit 21fd3cd1874a2ac8 ("gpio: pcf857x: call the gpio user handler iff gpio_to_irq is done"), as the interrupt mappings are no longer created on-demand by the driver, but by gpiochip_irqchip_add() during initialization. Signed-off-by: Geert Uytterhoeven Signed-off-by: Linus Walleij --- Reading git-diff-tree failed