mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: xiaopeitux@foxmail.com
To: linux-kernel@vger.kernel.org, f.fangjian@huawei.com,
	robh@kernel.org, john.g.garry@oracle.com,
	andriy.shevchenko@linux.intel.com, xuwei5@hisilicon.com
Cc: Pei Xiao <xiaopei01@kylinos.cn>
Subject: [PATCH 1/2] bus: hisi_lpc: remove unused head file in hisi_lpc.c
Date: Fri, 18 Apr 2025 16:51:23 +0800	[thread overview]
Message-ID: <tencent_8024B8D7E209E31C8E2B5AC411B70C551106@qq.com> (raw)
In-Reply-To: <cover.1744964101.git.xiaopei01@kylinos.cn>

From: Pei Xiao <xiaopei01@kylinos.cn>

linux/console.h,linux/io.h,linux/pci.h,linux/slab.h
are not used, this patch removes it.

Signed-off-by: Pei Xiao <xiaopei01@kylinos.cn>
---
 drivers/bus/hisi_lpc.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/drivers/bus/hisi_lpc.c b/drivers/bus/hisi_lpc.c
index 53dd1573e323..1fcc3f51f9ca 100644
--- a/drivers/bus/hisi_lpc.c
+++ b/drivers/bus/hisi_lpc.c
@@ -7,17 +7,13 @@
  */
 
 #include <linux/acpi.h>
-#include <linux/console.h>
 #include <linux/delay.h>
-#include <linux/io.h>
 #include <linux/logic_pio.h>
 #include <linux/module.h>
 #include <linux/of.h>
 #include <linux/of_platform.h>
-#include <linux/pci.h>
 #include <linux/platform_device.h>
 #include <linux/serial_8250.h>
-#include <linux/slab.h>
 
 #define DRV_NAME "hisi-lpc"
 
-- 
2.25.1


       reply	other threads:[~2025-04-18  8:57 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <cover.1744964101.git.xiaopei01@kylinos.cn>
2025-04-18  8:51 ` xiaopeitux [this message]
2025-04-19  8:01   ` kernel test robot
2025-04-19 15:22   ` Andy Shevchenko
2025-04-21  2:06     ` Pei Xiao
2025-04-22  7:58       ` Andy Shevchenko
2025-04-22 11:35         ` Pei Xiao
2025-04-21 11:34   ` kernel test robot
2025-04-18  8:51 ` [PATCH 2/2] logic_pio: Add detailed comments for find_io_range() and logic_pio_trans_cpuaddr() xiaopeitux
2025-04-19 15:21   ` Andy Shevchenko

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=tencent_8024B8D7E209E31C8E2B5AC411B70C551106@qq.com \
    --to=xiaopeitux@foxmail.com \
    --cc=andriy.shevchenko@linux.intel.com \
    --cc=f.fangjian@huawei.com \
    --cc=john.g.garry@oracle.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=robh@kernel.org \
    --cc=xiaopei01@kylinos.cn \
    --cc=xuwei5@hisilicon.com \
    /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

all inboxes | Powered by JetHome®