[PATCH] soc: Use dev_fwnode()
Thierry Reding
thierry.reding at gmail.com
Thu Jun 12 01:13:10 AEST 2025
On Wed, Jun 11, 2025 at 12:43:47PM +0200, Jiri Slaby (SUSE) wrote:
> irq_domain_create_simple() takes fwnode as the first argument. It can be
> extracted from the struct device using dev_fwnode() helper instead of
> using of_node with of_fwnode_handle().
>
> So use the dev_fwnode() helper.
>
> Signed-off-by: Jiri Slaby (SUSE) <jirislaby at kernel.org>
> Cc: Qiang Zhao <qiang.zhao at nxp.com>
> Cc: Christophe Leroy <christophe.leroy at csgroup.eu>
> Cc: Thierry Reding <thierry.reding at gmail.com>
> Cc: Jonathan Hunter <jonathanh at nvidia.com>
> Cc: linux-arm-kernel at lists.infradead.org
> Cc: linuxppc-dev at lists.ozlabs.org
>
> ---
> Cc: linux-tegra at vger.kernel.org
> ---
> drivers/soc/fsl/qe/qe_ic.c | 3 +--
> drivers/soc/tegra/pmc.c | 3 +--
> 2 files changed, 2 insertions(+), 4 deletions(-)
Nice.
Acked-by: Thierry Reding <treding at nvidia.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20250611/e21d693e/attachment.sig>
More information about the Linuxppc-dev
mailing list