diff mbox series

[clk:mediatek] clk:mediatek: remove duplicate include in clk-mt8195-imp_iic_wrap.c

Message ID 20211019013759.970600-1-ran.jianping@zte.com.cn (mailing list archive)
State New, archived
Headers show
Series [clk:mediatek] clk:mediatek: remove duplicate include in clk-mt8195-imp_iic_wrap.c | expand

Commit Message

CGEL Oct. 19, 2021, 1:37 a.m. UTC
From: Ran Jianping <ran.jianping@zte.com.cn>

'dt-bindings/clock/mt8195-clk.h' included in
'/drivers/clk/mediatek/clk-mt8195-imp_iic_wrap.c' is duplicated.It is
also included on the 13 line.

Reported-by: Zeal Robot <zealci@zte.com.cn>
Signed-off-by: Ran Jianping <ran.jianping@zte.com.cn>
---
 drivers/clk/mediatek/clk-mt8195-imp_iic_wrap.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Chen-Yu Tsai Oct. 19, 2021, 3:04 a.m. UTC | #1
On Tue, Oct 19, 2021 at 9:38 AM <cgel.zte@gmail.com> wrote:
>
> From: Ran Jianping <ran.jianping@zte.com.cn>
>
> 'dt-bindings/clock/mt8195-clk.h' included in
> '/drivers/clk/mediatek/clk-mt8195-imp_iic_wrap.c' is duplicated.It is
> also included on the 13 line.
>
> Reported-by: Zeal Robot <zealci@zte.com.cn>
> Signed-off-by: Ran Jianping <ran.jianping@zte.com.cn>
> ---
>  drivers/clk/mediatek/clk-mt8195-imp_iic_wrap.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/clk/mediatek/clk-mt8195-imp_iic_wrap.c b/drivers/clk/mediatek/clk-mt8195-imp_iic_wrap.c
> index 0e2ac0a30aa0..1aa5afc05929 100644
> --- a/drivers/clk/mediatek/clk-mt8195-imp_iic_wrap.c
> +++ b/drivers/clk/mediatek/clk-mt8195-imp_iic_wrap.c
> @@ -10,7 +10,7 @@
>  #include <linux/clk-provider.h>
>  #include <linux/platform_device.h>
>
> -#include <dt-bindings/clock/mt8195-clk.h>
> +

Just drop the line. Don't need the extra empty line.
diff mbox series

Patch

diff --git a/drivers/clk/mediatek/clk-mt8195-imp_iic_wrap.c b/drivers/clk/mediatek/clk-mt8195-imp_iic_wrap.c
index 0e2ac0a30aa0..1aa5afc05929 100644
--- a/drivers/clk/mediatek/clk-mt8195-imp_iic_wrap.c
+++ b/drivers/clk/mediatek/clk-mt8195-imp_iic_wrap.c
@@ -10,7 +10,7 @@ 
 #include <linux/clk-provider.h>
 #include <linux/platform_device.h>
 
-#include <dt-bindings/clock/mt8195-clk.h>
+
 
 static const struct mtk_gate_regs imp_iic_wrap_cg_regs = {
 	.set_ofs = 0xe08,