[PATCH] drm: Remove the struct drm_device platformdev field

2017-01-04 Thread Xinwei Kong
On 2016/12/18 6: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 th

[PATCH] drm: Remove the struct drm_device platformdev field

2017-01-03 Thread Russell King - ARM Linux
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

[PATCH] drm: Remove the struct drm_device platformdev field

2017-01-03 Thread Vincent ABRIOU
Hi Laurent, Ok for the sti driver. Acked-by: Vincent Abriou On 12/17/2016 11:39 PM, 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 st

[PATCH] drm: Remove the struct drm_device platformdev field

2017-01-03 Thread Rob Clark
On Sat, Dec 17, 2016 at 5:39 PM, 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

[PATCH] drm: Remove the struct drm_device platformdev field

2016-12-19 Thread Jyri Sarha
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

[PATCH] drm: Remove the struct drm_device platformdev field

2016-12-18 Thread Laurent Pinchart
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 embedde

[PATCH] drm: Remove the struct drm_device platformdev field

2016-12-18 Thread Daniel Vetter
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

[PATCH] drm: Remove the struct drm_device platformdev field

2016-12-18 Thread Laurent Pinchart
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 Pinc