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

Jiri Slaby <[email protected]>
Newsgroups gmane.linux.kernel.gpio,gmane.linux.kernel,gmane.comp.freedesktop.amd-gfx,gmane.comp.video.dri.devel,gmane.linux.ports.arm.kernel,gmane.linux.ports.arm.msm,gmane.linux.documentation,gmane.linux.kernel.iio,gmane.linux.drivers.i2c,gmane.linux.ports.arm.mediatek,gmane.linux.ports.mips,gmane.linux.ports.arm.omap,gmane.linux.kernel.pci,gmane.linux.ports.ppc64.devel,gmane.linux.ports.riscv,gmane.linux.kernel.rpi,gmane.linux.ports.sh.devel,gmane.linux.kernel.arc,gmane.linux.sound,gmane.linux.uml.devel,gmane.linux.kernel.wireless.general,gmane.linux.network,gmane.linux.drivers.platform.x86.devel
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.