Re: [PATCH 1/4] gpu: Use dev_get_drvdata()
From: Emil Velikov
Date: Mon Jul 01 2019 - 12:55:52 EST
On Mon, 1 Jul 2019 at 13:37, Emil Velikov <emil.l.velikov@xxxxxxxxx> wrote:
>
> Hi Fuqian,
>
> On Mon, 1 Jul 2019 at 08:13, Fuqian Huang <huangfq.daxian@xxxxxxxxx> wrote:
> >
> > Using dev_get_drvdata directly.
> >
> > Signed-off-by: Fuqian Huang <huangfq.daxian@xxxxxxxxx>
> > ---
> > drivers/gpu/drm/msm/adreno/adreno_device.c | 6 ++----
> > drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c | 13 +++++--------
> > drivers/gpu/drm/msm/disp/mdp5/mdp5_kms.c | 6 ++----
> > drivers/gpu/drm/msm/dsi/dsi_host.c | 6 ++----
> > drivers/gpu/drm/msm/msm_drv.c | 3 +--
> > drivers/gpu/drm/omapdrm/displays/panel-dsi-cm.c | 15 +++++----------
> > drivers/gpu/drm/panfrost/panfrost_device.c | 6 ++----
> As far as i can see the patch is spot on, thanks for that.
>
> Can you split this in three since it covers 3 separate drivers.
Quick grep for "platform_get_drvdata(to_platform_device" showed a few
instances through various drivers - exynos, msm, etc.
If you can address those with v2 that would be great.
-Emil