[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <c2a92db6-cd6d-41ab-8431-28e5b69e455e@kernel.org>
Date: Mon, 12 May 2025 10:55:19 +0200
From: Jiri Slaby <jirislaby@...nel.org>
To: Thomas Gleixner <tglx@...utronix.de>, LKML <linux-kernel@...r.kernel.org>
Cc: Caleb James DeLisle <cjd@...ns.fr>
Subject: Re: [PATCH] irqchip/econet-en751221: Switch to
irq_domain_create_linear()
On 06. 05. 25, 15:17, Thomas Gleixner wrote:
> irq_domain_add_linear() is about to be removed. Switch to
> irq_domain_create_linear().
>
> Signed-off-by: Thomas Gleixner <tglx@...utronix.de>
> ---
> drivers/irqchip/irq-econet-en751221.c | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> --- a/drivers/irqchip/irq-econet-en751221.c
> +++ b/drivers/irqchip/irq-econet-en751221.c
> @@ -286,7 +286,8 @@ static int __init econet_intc_of_init(st
>
> econet_mask_all();
>
> - domain = irq_domain_add_linear(node, IRQ_COUNT, &econet_domain_ops, NULL);
> + domain = irq_domain_create_linear(of_node_to_fwnode(node), IRQ_COUNT,
Actually, of_node_to_fwnode() is dying. I will send a patch to convert
to of_fwnode_handle() on the top of this one.
thanks,
--
js
suse labs
Powered by blists - more mailing lists