[PATCH] clk: mediatek: remove duplicate include

cgel.zte at gmail.com cgel.zte at gmail.com
Fri Sep 17 02:12:47 PDT 2021


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

Remove all but the first include of dt-bindings/clock/mt8195-clk.h
from clk-mt8195-imp_iic_wrap.c,and maintain alphabetic order in the
include list.

Reported-by: Zeal Robot <zealci at zte.com.cn>
Signed-off-by: Lv Ruyi <lv.ruyi at zte.com.cn>
---
 drivers/clk/mediatek/clk-mt8195-imp_iic_wrap.c | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/drivers/clk/mediatek/clk-mt8195-imp_iic_wrap.c b/drivers/clk/mediatek/clk-mt8195-imp_iic_wrap.c
index 0e2ac0a30aa0..261610509e39 100644
--- a/drivers/clk/mediatek/clk-mt8195-imp_iic_wrap.c
+++ b/drivers/clk/mediatek/clk-mt8195-imp_iic_wrap.c
@@ -3,13 +3,12 @@
 // Copyright (c) 2021 MediaTek Inc.
 // Author: Chun-Jie Chen <chun-jie.chen at mediatek.com>
 
-#include "clk-gate.h"
-#include "clk-mtk.h"
-
-#include <dt-bindings/clock/mt8195-clk.h>
 #include <linux/clk-provider.h>
 #include <linux/platform_device.h>
 
+#include "clk-gate.h"
+#include "clk-mtk.h"
+
 #include <dt-bindings/clock/mt8195-clk.h>
 
 static const struct mtk_gate_regs imp_iic_wrap_cg_regs = {
-- 
2.25.1




More information about the linux-arm-kernel mailing list