2016-12-15 14:24:52

by Corentin Labbe

[permalink] [raw]
Subject: [PATCH 1/3] nfc: nxp-nci: Remove unneeded linux/miscdevice.h include

drivers/nfc/nxp-nci/i2c.c does not use any miscdevice, so this patch
remove this unnecessary inclusion.

Signed-off-by: Corentin Labbe <[email protected]>
---
drivers/nfc/nxp-nci/i2c.c | 1 -
1 file changed, 1 deletion(-)

diff --git a/drivers/nfc/nxp-nci/i2c.c b/drivers/nfc/nxp-nci/i2c.c
index 36099e5..0356515 100644
--- a/drivers/nfc/nxp-nci/i2c.c
+++ b/drivers/nfc/nxp-nci/i2c.c
@@ -29,7 +29,6 @@
#include <linux/delay.h>
#include <linux/i2c.h>
#include <linux/interrupt.h>
-#include <linux/miscdevice.h>
#include <linux/module.h>
#include <linux/nfc.h>
#include <linux/gpio/consumer.h>
--
2.10.2


2016-12-15 14:24:53

by Corentin Labbe

[permalink] [raw]
Subject: [PATCH 2/3] nfc: pn544: Remove unneeded linux/miscdevice.h include

drivers/nfc/pn544/i2c.c does not use any miscdevice, so this
patch remove this unnecessary inclusion.

Signed-off-by: Corentin Labbe <[email protected]>
---
drivers/nfc/pn544/i2c.c | 1 -
1 file changed, 1 deletion(-)

diff --git a/drivers/nfc/pn544/i2c.c b/drivers/nfc/pn544/i2c.c
index f837c39..7030a47 100644
--- a/drivers/nfc/pn544/i2c.c
+++ b/drivers/nfc/pn544/i2c.c
@@ -25,7 +25,6 @@
#include <linux/of_gpio.h>
#include <linux/of_irq.h>
#include <linux/acpi.h>
-#include <linux/miscdevice.h>
#include <linux/interrupt.h>
#include <linux/delay.h>
#include <linux/nfc.h>
--
2.10.2

2016-12-15 14:24:54

by Corentin Labbe

[permalink] [raw]
Subject: [PATCH 3/3] nfc: st21nfca: Remove unneeded linux/miscdevice.h include

drivers/nfc/st21nfca/i2c.c does not use any miscdevice, so this patch
remove this unnecessary inclusion.

Signed-off-by: Corentin Labbe <[email protected]>
---
drivers/nfc/st21nfca/i2c.c | 1 -
1 file changed, 1 deletion(-)

diff --git a/drivers/nfc/st21nfca/i2c.c b/drivers/nfc/st21nfca/i2c.c
index 5a82f55..d16f58a 100644
--- a/drivers/nfc/st21nfca/i2c.c
+++ b/drivers/nfc/st21nfca/i2c.c
@@ -25,7 +25,6 @@
#include <linux/of_irq.h>
#include <linux/of_gpio.h>
#include <linux/acpi.h>
-#include <linux/miscdevice.h>
#include <linux/interrupt.h>
#include <linux/delay.h>
#include <linux/nfc.h>
--
2.10.2

2017-04-01 22:02:45

by Samuel Ortiz

[permalink] [raw]
Subject: Re: [PATCH 1/3] nfc: nxp-nci: Remove unneeded linux/miscdevice.h include

Hi Corentin,

On Thu, Dec 15, 2016 at 03:22:44PM +0100, Corentin Labbe wrote:
> drivers/nfc/nxp-nci/i2c.c does not use any miscdevice, so this patch
> remove this unnecessary inclusion.
>
> Signed-off-by: Corentin Labbe <[email protected]>
> ---
> drivers/nfc/nxp-nci/i2c.c | 1 -
> 1 file changed, 1 deletion(-)
All 3 patches applied, thanks.

Cheers,
Samuel.