From: Linus Walleij Date: Fri, 26 Sep 2014 12:19:52 +0000 (+0200) Subject: gpio: handle also nested irqchips in the chained handler set-up X-Git-Tag: fixes-against-v3.18-rc2~140^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3f97d5fcf99cb87f590ffe1d9422b2a26a8ef3ed;p=pandora-kernel.git gpio: handle also nested irqchips in the chained handler set-up To unify how we connect cascaded IRQ chips to parent IRQs, if NULL us passed as handler to the gpiochip_set_chained_irqchip() function, assume the chips is nested rather than chained, and we still get the parent set up correctly by way of this function call. Alter the drivers for tc3589x and stmpe to use this to set up their chained handlers as a demonstration of the usage. Signed-off-by: Linus Walleij --- Reading git-diff-tree failed