[PATCH 1/6] nfc: microread: remove unused header includes

Subsystems: nfc subsystem, the rest

STALE1804d

7 messages, 2 authors, 2021-08-26 · open the first message on its own page

[PATCH 1/6] nfc: microread: remove unused header includes

From: Krzysztof Kozlowski <hidden>
Date: 2021-08-25 14:25:54

Do not include unnecessary headers.

Signed-off-by: Krzysztof Kozlowski <redacted>
---
 drivers/nfc/microread/mei.c       | 1 -
 drivers/nfc/microread/microread.c | 1 -
 2 files changed, 2 deletions(-)
diff --git a/drivers/nfc/microread/mei.c b/drivers/nfc/microread/mei.c
index 8fa7771085eb..8edf761a6b2a 100644
--- a/drivers/nfc/microread/mei.c
+++ b/drivers/nfc/microread/mei.c
@@ -10,7 +10,6 @@
 #include <linux/module.h>
 #include <linux/mod_devicetable.h>
 #include <linux/nfc.h>
-#include <net/nfc/hci.h>
 #include <net/nfc/llc.h>
 
 #include "../mei_phy.h"
diff --git a/drivers/nfc/microread/microread.c b/drivers/nfc/microread/microread.c
index 9d83ccebd434..bb4d029bb888 100644
--- a/drivers/nfc/microread/microread.c
+++ b/drivers/nfc/microread/microread.c
@@ -15,7 +15,6 @@
 #include <linux/nfc.h>
 #include <net/nfc/nfc.h>
 #include <net/nfc/hci.h>
-#include <net/nfc/llc.h>
 
 #include "microread.h"
 
-- 
2.30.2

[PATCH 5/6] nfc: st21nfca: remove unused header includes

From: Krzysztof Kozlowski <hidden>
Date: 2021-08-25 14:25:52

Do not include unnecessary headers.

Signed-off-by: Krzysztof Kozlowski <redacted>
---
 drivers/nfc/st21nfca/core.c | 1 -
 drivers/nfc/st21nfca/i2c.c  | 2 --
 2 files changed, 3 deletions(-)
diff --git a/drivers/nfc/st21nfca/core.c b/drivers/nfc/st21nfca/core.c
index 5e6c99fcfd27..161caf2675cf 100644
--- a/drivers/nfc/st21nfca/core.c
+++ b/drivers/nfc/st21nfca/core.c
@@ -8,7 +8,6 @@
 #include <linux/module.h>
 #include <linux/nfc.h>
 #include <net/nfc/hci.h>
-#include <net/nfc/llc.h>
 
 #include "st21nfca.h"
 
diff --git a/drivers/nfc/st21nfca/i2c.c b/drivers/nfc/st21nfca/i2c.c
index 1b44a37a71aa..279d88128b2e 100644
--- a/drivers/nfc/st21nfca/i2c.c
+++ b/drivers/nfc/st21nfca/i2c.c
@@ -18,8 +18,6 @@
 #include <linux/nfc.h>
 #include <linux/firmware.h>
 
-#include <asm/unaligned.h>
-
 #include <net/nfc/hci.h>
 #include <net/nfc/llc.h>
 #include <net/nfc/nfc.h>
-- 
2.30.2

[PATCH 4/6] nfc: st-nci: remove unused header includes

From: Krzysztof Kozlowski <hidden>
Date: 2021-08-25 14:25:56

Do not include unnecessary headers.

Signed-off-by: Krzysztof Kozlowski <redacted>
---
 drivers/nfc/st-nci/core.c | 2 --
 1 file changed, 2 deletions(-)
diff --git a/drivers/nfc/st-nci/core.c b/drivers/nfc/st-nci/core.c
index 72bb51efdf9c..a367136d4330 100644
--- a/drivers/nfc/st-nci/core.c
+++ b/drivers/nfc/st-nci/core.c
@@ -9,8 +9,6 @@
 #include <linux/nfc.h>
 #include <net/nfc/nci.h>
 #include <net/nfc/nci_core.h>
-#include <linux/gpio.h>
-#include <linux/delay.h>
 
 #include "st-nci.h"
 
-- 
2.30.2

[PATCH 2/6] nfc: mrvl: remove unused header includes

From: Krzysztof Kozlowski <hidden>
Date: 2021-08-25 14:26:00

Do not include unnecessary headers.

Signed-off-by: Krzysztof Kozlowski <redacted>
---
 drivers/nfc/nfcmrvl/i2c.c | 3 ---
 drivers/nfc/nfcmrvl/spi.c | 3 ---
 2 files changed, 6 deletions(-)
diff --git a/drivers/nfc/nfcmrvl/i2c.c b/drivers/nfc/nfcmrvl/i2c.c
index c38b228006fd..ceef81d93ac9 100644
--- a/drivers/nfc/nfcmrvl/i2c.c
+++ b/drivers/nfc/nfcmrvl/i2c.c
@@ -8,12 +8,9 @@
 #include <linux/module.h>
 #include <linux/interrupt.h>
 #include <linux/i2c.h>
-#include <linux/pm_runtime.h>
 #include <linux/nfc.h>
-#include <linux/gpio.h>
 #include <linux/delay.h>
 #include <linux/of_irq.h>
-#include <linux/of_gpio.h>
 #include <net/nfc/nci.h>
 #include <net/nfc/nci_core.h>
 #include "nfcmrvl.h"
diff --git a/drivers/nfc/nfcmrvl/spi.c b/drivers/nfc/nfcmrvl/spi.c
index b182ab2e03c0..5b833a9a83f8 100644
--- a/drivers/nfc/nfcmrvl/spi.c
+++ b/drivers/nfc/nfcmrvl/spi.c
@@ -7,11 +7,8 @@
 
 #include <linux/module.h>
 #include <linux/interrupt.h>
-#include <linux/pm_runtime.h>
 #include <linux/nfc.h>
-#include <linux/gpio.h>
 #include <linux/of_irq.h>
-#include <linux/of_gpio.h>
 #include <net/nfc/nci.h>
 #include <net/nfc/nci_core.h>
 #include <linux/spi/spi.h>
-- 
2.30.2

[PATCH 6/6] nfc: st95hf: remove unused header includes

From: Krzysztof Kozlowski <hidden>
Date: 2021-08-25 14:26:06

Do not include unnecessary headers.

Signed-off-by: Krzysztof Kozlowski <redacted>
---
 drivers/nfc/st95hf/core.c | 1 -
 1 file changed, 1 deletion(-)
diff --git a/drivers/nfc/st95hf/core.c b/drivers/nfc/st95hf/core.c
index 993818742570..d16cf3ff644e 100644
--- a/drivers/nfc/st95hf/core.c
+++ b/drivers/nfc/st95hf/core.c
@@ -16,7 +16,6 @@
 #include <linux/nfc.h>
 #include <linux/of_gpio.h>
 #include <linux/of.h>
-#include <linux/of_irq.h>
 #include <linux/property.h>
 #include <linux/regulator/consumer.h>
 #include <linux/wait.h>
-- 
2.30.2

[PATCH 3/6] nfc: pn544: remove unused header includes

From: Krzysztof Kozlowski <hidden>
Date: 2021-08-25 14:26:07

Do not include unnecessary headers.

Signed-off-by: Krzysztof Kozlowski <redacted>
---
 drivers/nfc/pn544/pn544.c | 1 -
 1 file changed, 1 deletion(-)
diff --git a/drivers/nfc/pn544/pn544.c b/drivers/nfc/pn544/pn544.c
index 092f03b80a78..32a61a185142 100644
--- a/drivers/nfc/pn544/pn544.c
+++ b/drivers/nfc/pn544/pn544.c
@@ -13,7 +13,6 @@
 
 #include <linux/nfc.h>
 #include <net/nfc/hci.h>
-#include <net/nfc/llc.h>
 
 #include "pn544.h"
 
-- 
2.30.2

Re: [PATCH 1/6] nfc: microread: remove unused header includes

From: patchwork-bot+netdevbpf@kernel.org
Date: 2021-08-26 08:40:09

Hello:

This series was applied to netdev/net-next.git (refs/heads/master):

On Wed, 25 Aug 2021 16:24:54 +0200 you wrote:
Do not include unnecessary headers.

Signed-off-by: Krzysztof Kozlowski <redacted>
---
 drivers/nfc/microread/mei.c       | 1 -
 drivers/nfc/microread/microread.c | 1 -
 2 files changed, 2 deletions(-)
Here is the summary with links:
  - [1/6] nfc: microread: remove unused header includes
    https://git.kernel.org/netdev/net-next/c/ffb239e29518
  - [2/6] nfc: mrvl: remove unused header includes
    https://git.kernel.org/netdev/net-next/c/d8eb4eb0ef1d
  - [3/6] nfc: pn544: remove unused header includes
    https://git.kernel.org/netdev/net-next/c/9b3f66bc0eca
  - [4/6] nfc: st-nci: remove unused header includes
    https://git.kernel.org/netdev/net-next/c/2603ca872040
  - [5/6] nfc: st21nfca: remove unused header includes
    https://git.kernel.org/netdev/net-next/c/994a63434133
  - [6/6] nfc: st95hf: remove unused header includes
    https://git.kernel.org/netdev/net-next/c/7fe2f1bc15be

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help