[PATCH] drm: Remove the struct drm_device platformdev field
Jyri Sarha
jsarha at ti.com
Mon Dec 19 08:30:34 UTC 2016
On 12/18/16 00:39, Laurent Pinchart wrote:
> The field contains a pointer to the parent platform device of the DRM
> device. As struct drm_device also contains a dev pointer to the struct
> device embedded in the platform_device structure, the platformdev field
> is redundant. Remove it and use the dev pointer directly.
>
> Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas at ideasonboard.com>
Acked-by: Jyri Sarha <jsarha at ti.com>
> ---
> drivers/gpu/drm/armada/armada_drv.c | 3 +--
> drivers/gpu/drm/hisilicon/kirin/kirin_drm_ade.c | 5 ++---
> drivers/gpu/drm/hisilicon/kirin/kirin_drm_drv.c | 2 --
> drivers/gpu/drm/msm/mdp/mdp4/mdp4_kms.c | 2 +-
> drivers/gpu/drm/msm/mdp/mdp5/mdp5_cfg.c | 2 +-
> drivers/gpu/drm/msm/mdp/mdp5/mdp5_mdss.c | 2 +-
> drivers/gpu/drm/msm/msm_drv.c | 1 -
> drivers/gpu/drm/nouveau/nouveau_drm.c | 3 +--
> drivers/gpu/drm/sti/sti_drv.c | 2 --
> drivers/gpu/drm/tilcdc/tilcdc_drv.c | 1 -
> include/drm/drmP.h | 1 -
> 11 files changed, 7 insertions(+), 17 deletions(-)
More information about the dri-devel
mailing list