From: John Madieu <[email protected]> The platform driver data is already set earlier in rzg2l_mipi_dsi_probe(). The subsequent platform_set_drvdata() call uses the same arguments and is therefore redundant.
Remove the duplicate call. Signed-off-by: John Madieu <[email protected]> Signed-off-by: Lad Prabhakar <[email protected]> --- drivers/gpu/drm/renesas/rz-du/rzg2l_mipi_dsi.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/gpu/drm/renesas/rz-du/rzg2l_mipi_dsi.c b/drivers/gpu/drm/renesas/rz-du/rzg2l_mipi_dsi.c index 5b257f5adf06..985d6e02203c 100644 --- a/drivers/gpu/drm/renesas/rz-du/rzg2l_mipi_dsi.c +++ b/drivers/gpu/drm/renesas/rz-du/rzg2l_mipi_dsi.c @@ -1576,8 +1576,6 @@ static int rzg2l_mipi_dsi_probe(struct platform_device *pdev) if (!dsi->dcs_buf_virt) return -ENOMEM; - platform_set_drvdata(pdev, dsi); - ret = rzg2l_mipi_dsi_pwrrdy_init(dsi); if (ret) return ret; -- 2.56.0
