Re: [PATCH] soc: Use dev_fwnode()
From: Krzysztof Kozlowski
Date: Thu Jun 12 2025 - 07:31:59 EST
On 11/06/2025 12:43, 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@xxxxxxxxxx>
> Cc: Qiang Zhao <qiang.zhao@xxxxxxx>
> Cc: Christophe Leroy <christophe.leroy@xxxxxxxxxx>
> Cc: Thierry Reding <thierry.reding@xxxxxxxxx>
> Cc: Jonathan Hunter <jonathanh@xxxxxxxxxx>
> Cc: linux-arm-kernel@xxxxxxxxxxxxxxxxxxx
> Cc: linuxppc-dev@xxxxxxxxxxxxxxxx
>
> ---
> Cc: linux-tegra@xxxxxxxxxxxxxxx
> ---
> drivers/soc/fsl/qe/qe_ic.c | 3 +--
> drivers/soc/tegra/pmc.c | 3 +--
These are separate subsystems. You need to split the patch per each
actual SoC vendor.
Best regards,
Krzysztof