]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit313c2c516457f1efef50d391d445d694047d0971
tree4e4fdb68fafd244f83b6834e1c7c3d09e33c38e0
parent988e86be8e850dfb6e3f7e4a48a6b40509c4eb5f
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