From: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
To: Daniel Vetter <daniel@ffwll.ch>
Cc: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>,
Chen Feng <puck.chen@hisilicon.com>,
Xinwei Kong <kong.kongxinwei@hisilicon.com>,
Jyri Sarha <jsarha@ti.com>,
Xinliang Liu <z.liuxinliang@hisilicon.com>,
Russell King <rmk+kernel@armlinux.org.uk>,
dri-devel@lists.freedesktop.org,
Rongrong Zou <zourongrong@gmail.com>,
Vincent Abriou <vincent.abriou@st.com>,
Ben Skeggs <bskeggs@redhat.com>
Subject: Re: [PATCH] drm: Remove the struct drm_device platformdev field
Date: Sun, 18 Dec 2016 22:24:43 +0200 [thread overview]
Message-ID: <1689704.m0BD5NcnMD@avalon> (raw)
In-Reply-To: <20161218131626.lvvhhqsdtk5jupxe@phenom.ffwll.local>
Hi Daniel,
On Sunday 18 Dec 2016 14:16:26 Daniel Vetter wrote:
> On Sun, Dec 18, 2016 at 12:39:16AM +0200, 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@ideasonboard.com>
>
> Oh sweet.
>
> Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Thanks. Now it's your turn for the struct pci_device pointer ;-)
> > ---
> >
> > 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(-)
--
Regards,
Laurent Pinchart
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
next prev parent reply other threads:[~2016-12-18 20:24 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-12-13 19:34 [PATCH 0/2] exynosdrm: Remove .load/.unload midlayer Laurent Pinchart
2016-12-13 19:34 ` [PATCH 1/2] drm: exynos: Perform initialization/cleanup at probe/remove time Laurent Pinchart
2016-12-13 21:03 ` Sean Paul
2016-12-13 21:10 ` Daniel Vetter
2016-12-13 21:30 ` Laurent Pinchart
2016-12-13 21:32 ` Sean Paul
2016-12-13 21:49 ` Daniel Vetter
2016-12-13 21:54 ` Laurent Pinchart
2016-12-16 18:02 ` Daniel Stone
2016-12-17 21:49 ` Laurent Pinchart
2016-12-17 0:33 ` Inki Dae
2016-12-17 22:12 ` Laurent Pinchart
2016-12-19 6:32 ` Inki Dae
2016-12-17 22:29 ` [PATCH v2] " Laurent Pinchart
2016-12-19 9:29 ` Daniel Stone
2016-12-13 19:34 ` [PATCH 2/2] drm: Remove unused drm_platform midlayer Laurent Pinchart
2016-12-13 21:03 ` Daniel Vetter
2016-12-13 21:04 ` Sean Paul
2016-12-17 22:39 ` [PATCH] drm: Remove the struct drm_device platformdev field Laurent Pinchart
2016-12-18 13:16 ` Daniel Vetter
2016-12-18 20:24 ` Laurent Pinchart [this message]
2016-12-19 8:30 ` Jyri Sarha
2017-01-03 13:49 ` Vincent ABRIOU
2017-01-03 14:00 ` Russell King - ARM Linux
2017-01-03 15:29 ` Rob Clark
2017-01-04 1:22 ` Xinwei Kong
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1689704.m0BD5NcnMD@avalon \
--to=laurent.pinchart@ideasonboard.com \
--cc=bskeggs@redhat.com \
--cc=daniel@ffwll.ch \
--cc=dri-devel@lists.freedesktop.org \
--cc=jsarha@ti.com \
--cc=kong.kongxinwei@hisilicon.com \
--cc=laurent.pinchart+renesas@ideasonboard.com \
--cc=puck.chen@hisilicon.com \
--cc=rmk+kernel@armlinux.org.uk \
--cc=vincent.abriou@st.com \
--cc=z.liuxinliang@hisilicon.com \
--cc=zourongrong@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox