With the final platform device and software node rework changes having been queued in the driver core tree, Danilo pointed out that platform_device_set_fwnode() is no longer used and should be removed. I argued that instead we should prefer it over the OF-specific platform_device_set_of_node().
This series converts drivers using platform_device_set_of_node() to platform_device_set_fwnode() and does not intend any functional change as the semantics of: platform_device_set_of_node(pdev, np); should be equal to those of: platform_device_set_fwnode(pdev, of_fwnode_handle(np)); The prerequisite changes are currently in the driver core tree so this entire series should follow them as well with Acks from maintainers. If it doesn't make v7.3 for some reason, then I will resend these next cycle separately targetting individual trees. Signed-off-by: Bartosz Golaszewski <[email protected]> --- Bartosz Golaszewski (8): powerpc/powermac: use platform_device_set_fwnode() i2c: pxa-pci: use platform_device_set_fwnode() iommu/fsl: use platform_device_set_fwnode() net: bcmgenet: use platform_device_set_fwnode() pmdomain: imx: use platform_device_set_fwnode() mfd: tps6586: use platform_device_set_fwnode() net: mv643xx: use platform_device_set_fwnode() slimbus: qcom-ngd-ctrl: use platform_device_set_fwnode() arch/powerpc/platforms/powermac/low_i2c.c | 2 +- drivers/i2c/busses/i2c-pxa-pci.c | 2 +- drivers/iommu/fsl_pamu.c | 2 +- drivers/mfd/tps6586x.c | 2 +- drivers/net/ethernet/broadcom/genet/bcmmii.c | 3 ++- drivers/net/ethernet/marvell/mv643xx_eth.c | 2 +- drivers/pmdomain/imx/gpc.c | 2 +- drivers/slimbus/qcom-ngd-ctrl.c | 2 +- 8 files changed, 9 insertions(+), 8 deletions(-) --- base-commit: 27edebd505791748a77703e311d76f0f55a8d7ec change-id: 20260720-pdev-set-fwnode-instead-of-of-node-e83ece371509 Best regards, -- Bartosz Golaszewski <[email protected]>
