Skip to contentSkip to conversation

bus: bt1-apb: Remove duplicated header file inclusion

PATCH New Zhen Lei 1 participant 2 messages Apr 6, 2021

Subsystems (2)
lore
Share & tools
lore

Zhen Lei

author
#0 lore raw

v2 cover bus: bt1-apb: Remove duplicated header file inclusion

v1 --> v2:
Arrange all included header files in alphabetical order.

Zhen Lei (1):
bus: bt1-apb: Remove duplicated header file inclusion

 drivers/bus/bt1-apb.c | 15 +++++++--------
 1 file changed, 7 insertions(+), 8 deletions(-)
Signature · 1 line
1.8.3
author
#1 lore raw

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

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

---
 drivers/bus/bt1-apb.c | 15 +++++++--------
 1 file changed, 7 insertions(+), 8 deletions(-)
drivers/bus/bt1-apb.c +7 -8
index b25ff941e7c7f52..f7d3d2851a6cc48 100644
@@ -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)
Signature · 1 line
1.8.3