gpio/twl: Fix IRQ setup to be SPARSE_IRQ friendly
authorBenoit Cousson <b-cousson@ti.com>
Tue, 28 Feb 2012 20:51:59 +0000 (21:51 +0100)
committerTony Lindgren <tony@atomide.com>
Wed, 29 Feb 2012 21:45:23 +0000 (13:45 -0800)
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 <b-cousson@ti.com>
Cc: Felipe Balbi <balbi@ti.com>

No differences found