[PATCH v2 2/3] MFD: twl6040: Allocate IRQ numbers dynamically

Mark Brown broonie at opensource.wolfsonmicro.com
Tue May 8 21:40:20 EST 2012


On Tue, May 08, 2012 at 02:33:29PM +0300, Peter Ujfalusi wrote:

> The client drivers will receive their interrupt numbers via pdata which
> is configured based on the received IRQ range we got from irq_alloc_descs()

The idiomatic thing is to use resources and have mfd_add_devices() do
the fixup, which actually appears to be what the code is doing so no
problem.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.ozlabs.org/pipermail/devicetree-discuss/attachments/20120508/a24d7b53/attachment.sig>


More information about the devicetree-discuss mailing list