[PATCH v2 1/1] pinctrl: Remove duplicated header file inclusion
Zhen Lei
thunder.leizhen at huawei.com
Tue Apr 6 10:14:52 BST 2021
Delete one of the header files <linux/io.h> that are included twice, all
included header files are then rearranged alphabetically.
Signed-off-by: Zhen Lei <thunder.leizhen at huawei.com>
---
drivers/pinctrl/pinctrl-k210.c | 15 +++++++--------
1 file changed, 7 insertions(+), 8 deletions(-)
diff --git a/drivers/pinctrl/pinctrl-k210.c b/drivers/pinctrl/pinctrl-k210.c
index 8a733cf77ba0522..8670c8cd0e387c8 100644
--- a/drivers/pinctrl/pinctrl-k210.c
+++ b/drivers/pinctrl/pinctrl-k210.c
@@ -3,19 +3,18 @@
* Copyright (C) 2020 Sean Anderson <seanga2 at gmail.com>
* Copyright (c) 2020 Western Digital Corporation or its affiliates.
*/
-#include <linux/io.h>
-#include <linux/of_device.h>
+#include <linux/bitfield.h>
#include <linux/clk.h>
+#include <linux/io.h>
#include <linux/mfd/syscon.h>
+#include <linux/of_device.h>
+#include <linux/pinctrl/pinconf-generic.h>
+#include <linux/pinctrl/pinconf.h>
+#include <linux/pinctrl/pinctrl.h>
+#include <linux/pinctrl/pinmux.h>
#include <linux/platform_device.h>
-#include <linux/bitfield.h>
#include <linux/regmap.h>
#include <linux/slab.h>
-#include <linux/pinctrl/pinctrl.h>
-#include <linux/pinctrl/pinmux.h>
-#include <linux/pinctrl/pinconf.h>
-#include <linux/pinctrl/pinconf-generic.h>
-#include <linux/io.h>
#include <dt-bindings/pinctrl/k210-fpioa.h>
--
1.8.3
More information about the linux-riscv
mailing list