Re: [PATCH 1/4] gpu: Use dev_get_drvdata()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [Linux for Sparc]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux