Re: [PATCH 7/9] drm: rcar-du: Replace dev_private with container_of

2020-12-14 Thread Kieran Bingham
Hi Laurent, On 14/12/2020 10:58, Jacopo Mondi wrote: > Hi Laurent, > > On Sat, Dec 05, 2020 at 12:01:37AM +0200, Laurent Pinchart wrote: >> Now that drm_device is embedded in rcar_du_device, we can use >> container_of to get the rcar_du_device pointer from the drm_device, >> instead of using the

Re: [PATCH 7/9] drm: rcar-du: Replace dev_private with container_of

2020-12-14 Thread Jacopo Mondi
Hi Laurent, On Sat, Dec 05, 2020 at 12:01:37AM +0200, Laurent Pinchart wrote: > Now that drm_device is embedded in rcar_du_device, we can use > container_of to get the rcar_du_device pointer from the drm_device, > instead of using the drm_device.dev_private field. > > Signed-off-by: Laurent Pincha

[PATCH 7/9] drm: rcar-du: Replace dev_private with container_of

2020-12-04 Thread Laurent Pinchart
Now that drm_device is embedded in rcar_du_device, we can use container_of to get the rcar_du_device pointer from the drm_device, instead of using the drm_device.dev_private field. Signed-off-by: Laurent Pinchart --- drivers/gpu/drm/rcar-du/rcar_du_drv.c | 2 -- drivers/gpu/drm/rcar-du/rcar_du