# Re: \[PATCH 09/23\] of: platform: use platform\_device\_set\_of\_node()

- From: Rob Herring (Arm) \<robh@kernel.org\>
- Date: 2026-06-01 23:35:52 
- List: linuxppc-dev
- Page: https://ratatoskr.run/linuxppc-dev/2026/06/17075175
- Thread: https://ratatoskr.run/linux-arm-msm/2026/05/17013086/t.md

```text

On Thu, 21 May 2026 10:36:32 +0200, Bartosz Golaszewski wrote:
> Ahead of reworking the reference counting logic for platform devices,
> encapsulate the assignment of the OF node for dynamically allocated
> platform devices with the provided helper.
> 
> Signed-off-by: Bartosz Golaszewski <redacted>
> ---
>  drivers/of/platform.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 

Acked-by: Rob Herring (Arm) <robh@kernel.org>


```
