drm/amd/display: Use local structs instead of struct pointers
authorMikita Lipski <mikita.lipski@amd.com>
Tue, 29 May 2018 20:15:12 +0000 (16:15 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 5 Jul 2018 21:38:31 +0000 (16:38 -0500)
commit9654a28b3ac075f2454d5867d490b0c2f7cde9fd
tree6d32b69b38665f77535d7353a8dc118cc57d9b0a
parent0d8be24134eddaf5acc937f59d58e62d869f0a6f
drm/amd/display: Use local structs instead of struct pointers

Change struct pointers to creating structs on a stack.
Thats fixing a mistake in a previous patch introducing dm_pplib functions

Signed-off-by: Mikita Lipski <mikita.lipski@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@amd.com>
Acked-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_services.c