Re: [PATCH v2 3/3] firmware: stratix10-svc: Add of_platform_default_populate()
From: Krzysztof Kozlowski
Date: Fri Jan 31 2025 - 05:26:31 EST
On 31/01/2025 11:17, Mahesh Rao wrote:
>
> -err_unregister_dev:
> +err_unregister_fcs_dev:
> + platform_device_unregister(svc->intel_svc_fcs);
> +err_unregister_rsu_dev:
> platform_device_unregister(svc->stratix10_svc_rsu);
> err_free_kfifo:
> kfifo_free(&controller->svc_fifo);
> @@ -1256,6 +1262,8 @@ static void stratix10_svc_drv_remove(struct platform_device *pdev)
> struct stratix10_svc *svc = dev_get_drvdata(&pdev->dev);
> struct stratix10_svc_controller *ctrl = platform_get_drvdata(pdev);
>
> + of_platform_depopulate(ctrl->dev);
I thought you will use devm for this, but well...
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxx>
Best regards,
Krzysztof