From: Jean-Christophe PLAGNIOL-VILLARD Date: Fri, 16 Jan 2015 15:31:05 +0000 (+0100) Subject: pinctrl: at91: allow to have disabled gpio bank X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~215^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a0b957f306fa4d0a39f4ffe5e5e25e856e6be46e;p=pandora-kernel.git pinctrl: at91: allow to have disabled gpio bank Today we expect that all the bank are enabled, and count the number of banks used by the pinctrl based on it instead of using the last bank id enabled. So switch to it, set the chained IRQ at runtime based on enabled banks and wait only the number of enabled gpio controllers at probe time. Cc: # 3.18 Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD Signed-off-by: Ludovic Desroches Acked-by: Nicolas Ferre Signed-off-by: Linus Walleij --- Reading git-diff-tree failed