From: Zhen Lei <thunder.leizhen@huawei.com>
To: Damien Le Moal <damien.lemoal@wdc.com>,
Arnd Bergmann <arnd@arndb.de>,
Linus Walleij <linus.walleij@linaro.org>,
linux-riscv <linux-riscv@lists.infradead.org>,
linux-gpio <linux-gpio@vger.kernel.org>,
linux-kernel <linux-kernel@vger.kernel.org>
Cc: Zhen Lei <thunder.leizhen@huawei.com>
Subject: [PATCH v2 1/1] bus: bt1-apb: Remove duplicated header file inclusion
Date: Tue, 6 Apr 2021 16:20:34 +0800 [thread overview]
Message-ID: <20210406082034.2371-2-thunder.leizhen@huawei.com> (raw)
In-Reply-To: <20210406082034.2371-1-thunder.leizhen@huawei.com>
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
prev parent reply other threads:[~2021-04-06 8:20 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-04-06 8:20 [PATCH v2 0/1] bus: bt1-apb: Remove duplicated header file inclusion Zhen Lei
2021-04-06 8:20 ` Zhen Lei [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210406082034.2371-2-thunder.leizhen@huawei.com \
--to=thunder.leizhen@huawei.com \
--cc=arnd@arndb.de \
--cc=damien.lemoal@wdc.com \
--cc=linus.walleij@linaro.org \
--cc=linux-gpio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-riscv@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).