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

From: Mark Brown
Date: Tue May 08 2012 - 07:40:25 EST


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.

Attachment: signature.asc
Description: Digital signature