From: Jon Hunter Date: Fri, 1 Mar 2013 17:22:47 +0000 (-0600) Subject: gpio/omap: convert gpio irq domain to linear mapping X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~23^2~44 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ede4d7a5b9835510fd1f724367f68d2fa4128453;p=pandora-kernel.git gpio/omap: convert gpio irq domain to linear mapping Currently the OMAP GPIO driver uses a legacy mapping for the GPIO IRQ domain. This is not necessary because we do not need to assign a specific interrupt number to the GPIO IRQ domain. Therefore, convert the OMAP GPIO driver to use a linear mapping instead. Please note that this also allows to simplify the logic in the OMAP gpio_irq_handler() routine, by using irq_find_mapping() to obtain the virtual irq number from the GPIO bank and bank index. Reported-by: Linus Walleij Signed-off-by: Jon Hunter Reviewed-by: Felipe Balbi Acked-by: Santosh Shilimkar Acked-by: Kevin Hilman Tested-by: Javier Martinez Canillas Signed-off-by: Grant Likely --- Reading git-diff-tree failed