OSDN Git Service

drm/amd/display: code cleanup of dc_link file on func dc_link_construct
authorMelissa Wen <melissa.srw@gmail.com>
Tue, 31 Mar 2020 11:00:32 +0000 (08:00 -0300)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 1 Apr 2020 18:44:46 +0000 (14:44 -0400)
commit9ec420d833413e39a46b5327ac27436e24d1ad12
tree4e4fdb68fafd244f83b6834e1c7c3d09e33c38e0
parentded3491b85225c68cce45a4568893f7d8dd7fc51
drm/amd/display: code cleanup of dc_link file on func dc_link_construct

Removes codestyle issues in dc_link file, on dc_link_construct and
translate_encoder_to_transmitter as suggested by checkpatch.pl.

Types covered:

CHECK: Lines should not end with a '('
WARNING: Missing a blank line after declarations
CHECK: Alignment should match open parenthesis
CHECK: Comparison to NULL could be written
CHECK: Logical continuations should be on the previous line
CHECK: Blank lines aren't necessary after an open brace '{'

Signed-off-by: Melissa Wen <melissa.srw@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc_link.c