lkml.org 
[lkml]   [2017]   [Nov]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] drm/amd/display/dc/dce110/dce110_mem_input_v: use swap macro in program_size_and_rotation

Quoting Harry Wentland <harry.wentland@amd.com>:

> On 2017-11-10 05:31 PM, Gustavo A. R. Silva wrote:
>> 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>
>
> Reviewed-by: Harry Wentland <harry.wentland@amd.com>
>

Thank you, Harry.

--
Gustavo A. R. Silva






\
 
 \ /
  Last update: 2017-11-20 06:25    [W:0.045 / U:2.020 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site