]> git.baikalelectronics.ru Git - kernel.git/commit
gpio/twl: Allocate irq_desc dynamically for SPARSE_IRQ support
authorBenoit Cousson <b-cousson@ti.com>
Wed, 29 Feb 2012 21:48:32 +0000 (22:48 +0100)
committerSamuel Ortiz <sameo@linux.intel.com>
Thu, 22 Mar 2012 12:05:53 +0000 (13:05 +0100)
commit1ad4b99635a6315d4f2d6bf853684effe70690bf
treea0a3ff0ef75ac90324131e9785cb389861272b4e
parenta920c73acde8e087be24bfafe6a1cbb051e53397
gpio/twl: Allocate irq_desc dynamically for SPARSE_IRQ support

Do not use the board pdata for irq_base, but allocate them dynamically
to allow a proper support of SPARSE_IRQ.

Fix an unneeded line wrap.

Signed-off-by: Benoit Cousson <b-cousson@ti.com>
Acked-by: Felipe Balbi <balbi@ti.com>
Acked-by: Grant Likely <grant.likely@secretlab.ca>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/gpio/gpio-twl4030.c