aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorLaurent Pinchart <[email protected]>2020-12-03 16:21:55 +0000
committerLaurent Pinchart <[email protected]>2021-01-05 05:20:04 +0000
commita476f9e8c00c6042f002b411305de7abdcacac5f (patch)
tree7f201ac9f6cc030f99707926fc03d7b9fe822647 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parentdrm: rcar-du: Embed drm_device in rcar_du_device (diff)
downloadkernel-a476f9e8c00c6042f002b411305de7abdcacac5f.tar.gz
kernel-a476f9e8c00c6042f002b411305de7abdcacac5f.zip
drm: rcar-du: Replace dev_private with container_of
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 <[email protected]> Reviewed-by: Jacopo Mondi <[email protected]> Reviewed-by: Kieran Bingham <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions