Re: [PATCH v3 1/5] irqdomain: Introduce irq_domain_create_simple() API

From: Marc Zyngier
Date: Fri Mar 05 2021 - 09:21:18 EST


On Thu, 04 Mar 2021 20:12:49 +0000,
Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx> 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@xxxxxxxxxxxxxxx>
> ---
> Documentation/core-api/irq/irq-domain.rst | 22 ++++++++++++----------
> include/linux/irqdomain.h | 19 ++++++++++++++-----
> kernel/irq/irqdomain.c | 20 ++++++++++----------
> 3 files changed, 36 insertions(+), 25 deletions(-)

Acked-by: Marc Zyngier <maz@xxxxxxxxxx>

Thanks,

M.

--
Without deviation from the norm, progress is not possible.