MFD: twl6040: Use resource to provide irq number for slaves
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Tue, 5 Jul 2011 08:40:33 +0000 (11:40 +0300)
committerPeter Ujfalusi <peter.ujfalusi@ti.com>
Thu, 7 Jul 2011 11:23:10 +0000 (14:23 +0300)
commit0f962ae2dd8655f0800ff3c4b02d5f5a2ff3899e
tree55e3e395fa0484702d2f13809251105087fd08f0
parent1a4cdecec7d639ba2891195dc3f5917fb70653db
MFD: twl6040: Use resource to provide irq number for slaves

Provide the irq number for slaves via resource on the
platform device.
The irq number configuration is done in the twl6040-core
at probe time, so machine drivers do not need to be
modified.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Reviewed-by: Felipe Balbi <balbi@ti.com>
Acked-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mfd/twl6040-core.c