All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drm/amd/display: remove duplicate include in dcn201_clk_mgr.c
@ 2021-10-08  8:40 cgel.zte
  2021-10-08 14:30 ` Alex Deucher
  0 siblings, 1 reply; 2+ messages in thread
From: cgel.zte @ 2021-10-08  8:40 UTC (permalink / raw)
  To: harry.wentland
  Cc: sunpeng.li, alexander.deucher, christian.koenig, Xinhui.Pan,
	airlied, daniel, charlene.liu, zhan.liu, lv.ruyi, amd-gfx,
	dri-devel, linux-kernel, Zeal Robot

From: Lv Ruyi <lv.ruyi@zte.com.cn>

Remove all but the first include of reg_helper.h and core_types.h
from dcn201_clk_mgr.c.

Reported-by: Zeal Robot <zealci@zte.com.cn>
Signed-off-by: Lv Ruyi <lv.ruyi@zte.com.cn>
---
 .../gpu/drm/amd/display/dc/clk_mgr/dcn201/dcn201_clk_mgr.c    | 2 --
 1 file changed, 2 deletions(-)

diff --git a/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn201/dcn201_clk_mgr.c b/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn201/dcn201_clk_mgr.c
index 46e7efe9a78a..db9950244c7b 100644
--- a/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn201/dcn201_clk_mgr.c
+++ b/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn201/dcn201_clk_mgr.c
@@ -26,8 +26,6 @@
 #include "reg_helper.h"
 #include "core_types.h"
 #include "dccg.h"
 #include "clk_mgr_internal.h"
 #include "dcn201_clk_mgr.h"
 #include "dcn20/dcn20_clk_mgr.h"
 #include "dce100/dce_clk_mgr.h"
-#include "reg_helper.h"
-#include "core_types.h"
 #include "dm_helpers.h"
 #include "dm_services.h"
 
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] drm/amd/display: remove duplicate include in dcn201_clk_mgr.c
  2021-10-08  8:40 [PATCH] drm/amd/display: remove duplicate include in dcn201_clk_mgr.c cgel.zte
@ 2021-10-08 14:30 ` Alex Deucher
  0 siblings, 0 replies; 2+ messages in thread
From: Alex Deucher @ 2021-10-08 14:30 UTC (permalink / raw)
  To: CGEL
  Cc: Wentland, Harry, Leo (Sunpeng) Li, Deucher, Alexander,
	Christian Koenig, xinhui pan, Dave Airlie, Daniel Vetter,
	Charlene Liu, Zhan Liu, lv.ruyi, amd-gfx list,
	Maling list - DRI developers, LKML, Zeal Robot

Applied.  Thanks!

Alex

On Fri, Oct 8, 2021 at 4:40 AM <cgel.zte@gmail.com> wrote:
>
> From: Lv Ruyi <lv.ruyi@zte.com.cn>
>
> Remove all but the first include of reg_helper.h and core_types.h
> from dcn201_clk_mgr.c.
>
> Reported-by: Zeal Robot <zealci@zte.com.cn>
> Signed-off-by: Lv Ruyi <lv.ruyi@zte.com.cn>
> ---
>  .../gpu/drm/amd/display/dc/clk_mgr/dcn201/dcn201_clk_mgr.c    | 2 --
>  1 file changed, 2 deletions(-)
>
> diff --git a/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn201/dcn201_clk_mgr.c b/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn201/dcn201_clk_mgr.c
> index 46e7efe9a78a..db9950244c7b 100644
> --- a/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn201/dcn201_clk_mgr.c
> +++ b/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn201/dcn201_clk_mgr.c
> @@ -26,8 +26,6 @@
>  #include "reg_helper.h"
>  #include "core_types.h"
>  #include "dccg.h"
>  #include "clk_mgr_internal.h"
>  #include "dcn201_clk_mgr.h"
>  #include "dcn20/dcn20_clk_mgr.h"
>  #include "dce100/dce_clk_mgr.h"
> -#include "reg_helper.h"
> -#include "core_types.h"
>  #include "dm_helpers.h"
>  #include "dm_services.h"
>
> --
> 2.25.1
>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-10-08 14:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-08  8:40 [PATCH] drm/amd/display: remove duplicate include in dcn201_clk_mgr.c cgel.zte
2021-10-08 14:30 ` Alex Deucher

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.