Re: [PATCH] soc: Use dev_fwnode()

From: Christophe Leroy
Date: Thu Jun 12 2025 - 08:50:45 EST




Le 12/06/2025 à 13:31, Krzysztof Kozlowski a écrit :
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.



It has already been Acked by Thierry Reding who maintains tegra so I can take this patch as is via soc/fsl tree.

Christophe