[PATCH v2 1/1] bus: bt1-apb: Remove duplicated header file inclusion

Zhen Lei thunder.leizhen at huawei.com
Tue Apr 6 09:20:34 BST 2021


Delete one of the header files <linux/clk.h> that are included twice, all
included header files are then rearranged alphabetically.

Signed-off-by: Zhen Lei <thunder.leizhen at huawei.com>
---
 drivers/bus/bt1-apb.c | 15 +++++++--------
 1 file changed, 7 insertions(+), 8 deletions(-)

diff --git a/drivers/bus/bt1-apb.c b/drivers/bus/bt1-apb.c
index b25ff941e7c7f52..f7d3d2851a6cc48 100644
--- a/drivers/bus/bt1-apb.c
+++ b/drivers/bus/bt1-apb.c
@@ -8,22 +8,21 @@
  * Baikal-T1 APB-bus driver
  */
 
-#include <linux/kernel.h>
-#include <linux/module.h>
-#include <linux/types.h>
-#include <linux/device.h>
 #include <linux/atomic.h>
-#include <linux/platform_device.h>
+#include <linux/clk.h>
+#include <linux/device.h>
 #include <linux/interrupt.h>
 #include <linux/io.h>
+#include <linux/kernel.h>
+#include <linux/module.h>
 #include <linux/nmi.h>
 #include <linux/of.h>
+#include <linux/platform_device.h>
 #include <linux/regmap.h>
-#include <linux/clk.h>
 #include <linux/reset.h>
-#include <linux/time64.h>
-#include <linux/clk.h>
 #include <linux/sysfs.h>
+#include <linux/time64.h>
+#include <linux/types.h>
 
 #define APB_EHB_ISR			0x00
 #define APB_EHB_ISR_PENDING		BIT(0)
-- 
1.8.3





More information about the linux-riscv mailing list