From: Daniel Vetter Date: Wed, 15 Apr 2020 07:40:06 +0000 (+0200) Subject: drm/ingenic: Don't set drm_device->dev_private X-Git-Tag: baikal/mips/sdk5.9~13559^2~13^2~47 X-Git-Url: https://git.baikalelectronics.ru/sdk/?a=commitdiff_plain;h=b31d27b4a58298020d67814c8058dea49167c2e6;p=kernel.git drm/ingenic: Don't set drm_device->dev_private Entirely not used, just copypasta. Acked-by: Sam Ravnborg Signed-off-by: Daniel Vetter Cc: Paul Cercueil Link: https://patchwork.freedesktop.org/patch/msgid/20200415074034.175360-32-daniel.vetter@ffwll.ch --- diff --git a/drivers/gpu/drm/ingenic/ingenic-drm.c b/drivers/gpu/drm/ingenic/ingenic-drm.c index 2dd1f3020fcb7..632d72177123c 100644 --- a/drivers/gpu/drm/ingenic/ingenic-drm.c +++ b/drivers/gpu/drm/ingenic/ingenic-drm.c @@ -619,7 +619,6 @@ static int ingenic_drm_probe(struct platform_device *pdev) priv->soc_info = soc_info; priv->dev = dev; drm = &priv->drm; - drm->dev_private = priv; platform_set_drvdata(pdev, priv);