From: Benoit Cousson Date: Tue, 28 Feb 2012 20:51:59 +0000 (+0100) Subject: gpio/twl: Fix IRQ setup to be SPARSE_IRQ friendly X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c8552139eee1196267a21566aa2f6033c4a95faf;p=pandora-kernel.git gpio/twl: Fix IRQ setup to be SPARSE_IRQ friendly Since the SIH handler is allocating irq_descs dynamically, the irq_base cannot be defined anymore by the board through pdata. Remove the test to setup IRQ only in case of valid pdata. Remove the check to ensure irq_base is the one from pdata. Signed-off-by: Benoit Cousson Cc: Felipe Balbi --- Reading git-diff-tree failed