From: Abhilash Kesavan Date: Thu, 9 Oct 2014 13:54:29 +0000 (+0530) Subject: pinctrl: exynos: Generalize the eint16_31 demux code X-Git-Tag: omap-for-v3.20/drop-legacy-3517~132^2~5^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0d3d30db93635936652417efd0f4a3e9049d0938;p=pandora-kernel.git pinctrl: exynos: Generalize the eint16_31 demux code The function exynos_irq_demux_eint16_31 uses pre-defined offsets for external interrupt pending status and mask registers. So this function is not extensible for Exynos7 SoC which has these registers at different offsets. Generalize the exynos_irq_demux_eint16_31 function by using the pending/mask register offset values from the exynos_irq_chip structure. This is done by adding a irq_chip field to the samsung_pin_bank struct. Signed-off-by: Abhilash Kesavan Reviewed-by: Thomas Abraham Tested-by: Thomas Abraham Acked-by: Tomasz Figa Cc: Linus Walleij Signed-off-by: Tomasz Figa --- Reading git-diff-tree failed