drm/amd/display: remove duplicate dcn314 includes
Subsystems (3)
Alex Deucher
maintainerPATCH 1/1 drm/amd/display: remove duplicate dcn314 includes
Several headers were included twice. Fix that.
Reported-by kernel test robot <[email protected]>
Signed-off-by Alex Deucher <[email protected]>
--- drivers/gpu/drm/amd/display/dc/dcn314/dcn314_hwseq.c | 1 - drivers/gpu/drm/amd/display/dc/dcn314/dcn314_optc.c | 1 - drivers/gpu/drm/amd/display/dc/dcn314/dcn314_resource.c | 1 - 3 files changed, 3 deletions(-)
drivers/gpu/drm/amd/display/dc/dcn314/dcn314_hwseq.c +0 -1
@@ -34,7 +34,6 @@#include "clk_mgr.h" #include "reg_helper.h" #include "abm.h" -#include "clk_mgr.h" #include "hubp.h" #include "dchubbub.h" #include "timing_generator.h"
drivers/gpu/drm/amd/display/dc/dcn314/dcn314_optc.c +0 -1
@@ -25,7 +25,6 @@*/ #include "dcn314_optc.h" -#include "dcn314_optc.h" #include "dcn30/dcn30_optc.h" #include "dcn31/dcn31_optc.h"
drivers/gpu/drm/amd/display/dc/dcn314/dcn314_resource.c +0 -1
@@ -60,7 +60,6 @@#include "dcn31/dcn31_hpo_dp_stream_encoder.h" #include "dcn31/dcn31_hpo_dp_link_encoder.h" #include "dcn31/dcn31_apg.h" -#include "dcn31/dcn31_dio_link_encoder.h" #include "dcn31/dcn31_vpg.h" #include "dcn31/dcn31_afmt.h" #include "dce/dce_clock_source.h"
Signature · 1 line
2.35.3
Quoted 4 lines · Alex Deucher
Several headers were included twice. Fix that.
Reported-by kernel test robot <[email protected]>Signed-off-by Alex Deucher <[email protected]>
Reviewed-by Harry Wentland <[email protected]>
Harry
Quoted 42 lines
--- drivers/gpu/drm/amd/display/dc/dcn314/dcn314_hwseq.c | 1 - drivers/gpu/drm/amd/display/dc/dcn314/dcn314_optc.c | 1 - drivers/gpu/drm/amd/display/dc/dcn314/dcn314_resource.c | 1 - 3 files changed, 3 deletions(-)drivers/gpu/drm/amd/display/dc/dcn314/dcn314_hwseq.c +0
-1@@ -34,7 +34,6 @@#include "clk_mgr.h" #include "reg_helper.h" #include "abm.h" -#include "clk_mgr.h" #include "hubp.h" #include "dchubbub.h" #include "timing_generator.h" drivers/gpu/drm/amd/display/dc/dcn314/dcn314_optc.c +0
-1@@ -25,7 +25,6 @@*/ #include "dcn314_optc.h" -#include "dcn314_optc.h" #include "dcn30/dcn30_optc.h" #include "dcn31/dcn31_optc.h" drivers/gpu/drm/amd/display/dc/dcn314/dcn314_resource.c +0
-1@@ -60,7 +60,6 @@#include "dcn31/dcn31_hpo_dp_stream_encoder.h" #include "dcn31/dcn31_hpo_dp_link_encoder.h" #include "dcn31/dcn31_apg.h" -#include "dcn31/dcn31_dio_link_encoder.h" #include "dcn31/dcn31_vpg.h" #include "dcn31/dcn31_afmt.h" #include "dce/dce_clock_source.h"
Às 10:55 de 12/07/22, Alex Deucher escreveu:
Quoted 5 lines
Several headers were included twice. Fix that.
Reported-by kernel test robot <[email protected]>Signed-off-by Alex Deucher <[email protected]>---
Reviewed-by André Almeida <[email protected]>
In the future, for new files, it's a good practice to keep includes sorted.