Re: [PATCH v2 00/57] irqdomain: Cleanups and Documentation

Jiri Slaby
2025-03-19T10:33:05Z

On 19. 03. 25, 11:21, Andy Shevchenko wrote:
> I am all to support the idea, but in some cases I would think of a bit
> more work to be done to get rid of the of_fwnode_handle(np) in favour
> of dev_fwnode(dev). Note, this is based on a brief look, I haven't any
> example at hand right now.

Aah, that's the helper I was looking for!

I was about to use dev->fwnode directly (see the commit log for the
Switch to irq_domain_create_*()), but that is not guaranteed to be
always properly set.

Will use this instead in v3.

thanks,
--
js
suse labs