[PATCH] pinctrl/nomadik: allocate IRQ descriptors dynamically

Linus Walleij linus.walleij at linaro.org
Thu Sep 27 08:48:11 EDT 2012


On Thu, Sep 27, 2012 at 2:37 PM, Rob Herring <robherring2 at gmail.com> wrote:

>>       nmk_chip->domain = irq_domain_add_legacy(np, NMK_GPIO_PER_CHIP,
>
> You might as well change to irq_domain_add_simple here.

True. I'll fix.

> Perhaps we should just add irq_alloc_descs call into
> irq_domain_add_simple in the legacy case. It may need to be conditioned
> on SPARSE_IRQ. There's currently no callers, so it wouldn't break anything.

OK get ready to ACK, I'll fix.

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list