lkml.org 
[lkml]   [2021]   [Apr]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH v2 1/1] bus: bt1-apb: Remove duplicated header file inclusion
Date
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@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

\
 
 \ /
  Last update: 2021-04-06 10:21    [W:0.051 / U:0.460 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site