diff options
author | Gustavo A. R. Silva | 2017-11-10 23:31:09 +0100 |
---|---|---|
committer | Alex Deucher | 2017-12-06 18:47:57 +0100 |
commit | 8aa111e34deedded58cd8576755f31659ba676f5 (patch) | |
tree | ff7d579060ea17d92d03868902cc061fa07b8690 /drivers/gpu/drm/amd/powerplay/hwmgr/process_pptables_v1_0.c | |
parent | drm/amd/display/dc/core/dc_resource: use swap macro in rect_swap_helper (diff) | |
download | kernel-qcow2-linux-8aa111e34deedded58cd8576755f31659ba676f5.tar.gz kernel-qcow2-linux-8aa111e34deedded58cd8576755f31659ba676f5.tar.xz kernel-qcow2-linux-8aa111e34deedded58cd8576755f31659ba676f5.zip |
drm/amd/display/dc/dce110/dce110_mem_input_v: use swap macro in program_size_and_rotation
Make use of the swap macro instead of _manually_ swapping values
and remove unnecessary variable swap.
This makes the code easier to read and maintain.
This code was detected with the help of Coccinelle.
Signed-off-by: Gustavo A. R. Silva <garsilva@embeddedor.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/powerplay/hwmgr/process_pptables_v1_0.c')
0 files changed, 0 insertions, 0 deletions