Re: [PATCH v5 1/6] irqdomain: Introduce irq_domain_create_simple() API

Linus Walleij
2021-03-09T16:35:11Z

On Mon, Mar 8, 2021 at 8:45 PM Andy Shevchenko
<andriy.shevchenko@linux.intel.com> wrote:

> Linus Walleij pointed out that ird_domain_add_simple() gained
> additional functionality and can't be anymore replaced with
> a simple conditional. In preparation to upgrade GPIO library
> to use fwnode, introduce irq_domain_create_simple() API which is
> functional equivalent to the existing irq_domain_add_simple(),
> but takes a pointer to the struct fwnode_handle as a parameter.
>
> While at it, amend documentation to mention irq_domain_create_*()
> functions where it makes sense.
>
> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
> Acked-by: Marc Zyngier <maz@kernel.org>

Excellent work Andy!
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>

I suggest Bartosz just apply this with the rest to the GPIO tree.

Yours,
Linus Walleij