diff options
author | Srinivasan Shanmugam <srinivasan.shanmugam@amd.com> | 2023-11-12 09:30:51 +0530 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2023-11-29 16:23:39 -0500 |
commit | 534eee82356c220649dc9c2ea90099f39fb1cb62 (patch) | |
tree | 6bfdc0b6ce5269d950e6c1061a160bf5220fab17 /drivers/gpu/drm/amd/pm/amdgpu_dpm.c | |
parent | 613ecd6563d2716192e69624105fe1939d104663 (diff) |
drm/amd/display: Remove redundant DRM device struct in amdgpu_dm_, mst_types.c
Declaration of 'struct drm_device *dev' is redundant, as
'connector->dev' & 'dev_get_drvdata(kdev)' can be directly passed to
'drm_to_adev', without any intermediate DRM device 'dev' variable
Cc: Roman Li <roman.li@amd.com>
Cc: Hamza Mahfooz <hamza.mahfooz@amd.com>
Cc: Harry Wentland <harry.wentland@amd.com>
Cc: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Cc: Aurabindo Pillai <aurabindo.pillai@amd.com>
Cc: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Srinivasan Shanmugam <srinivasan.shanmugam@amd.com>
Reviewed-by: Roman Li <roman.li@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/pm/amdgpu_dpm.c')
0 files changed, 0 insertions, 0 deletions