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

Marc Zyngier
2021-03-05T14:21:18Z

On Thu, 04 Mar 2021 20:12:49 +0000,
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>
> ---
> 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@kernel.org>

Thanks,

M.

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