diff options
author | Christophe Ricard <christophe.ricard@gmail.com> | 2014-09-03 17:30:32 -0400 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2014-09-07 18:31:51 -0400 |
commit | 890c165261f92e23005d84762acc98892acaa504 (patch) | |
tree | d0de5a521b4ecd374d96779b9b9d06a8a544adca | |
parent | 0a91e8ac240a12ac3a03581deb8cd531788c63d4 (diff) |
NFC: st21nfcb: Remove useless headers
Remove some headers as they are:
- not relevent for st21nfcb.
- called multiple times for no reason: example st21nfcb.h already include
ndlc.h.
Signed-off-by: Christophe Ricard <christophe-h.ricard@st.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
-rw-r--r-- | drivers/nfc/st21nfcb/i2c.c | 8 | ||||
-rw-r--r-- | drivers/nfc/st21nfcb/st21nfcb.c | 1 | ||||
-rw-r--r-- | drivers/nfc/st21nfcb/st21nfcb.h | 2 |
3 files changed, 0 insertions, 11 deletions
diff --git a/drivers/nfc/st21nfcb/i2c.c b/drivers/nfc/st21nfcb/i2c.c index 02fac319dfa9..83423462663d 100644 --- a/drivers/nfc/st21nfcb/i2c.c +++ b/drivers/nfc/st21nfcb/i2c.c | |||
@@ -17,24 +17,16 @@ | |||
17 | 17 | ||
18 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt | 18 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt |
19 | 19 | ||
20 | #include <linux/crc-ccitt.h> | ||
21 | #include <linux/module.h> | 20 | #include <linux/module.h> |
22 | #include <linux/i2c.h> | 21 | #include <linux/i2c.h> |
23 | #include <linux/gpio.h> | 22 | #include <linux/gpio.h> |
24 | #include <linux/of_irq.h> | 23 | #include <linux/of_irq.h> |
25 | #include <linux/of_gpio.h> | 24 | #include <linux/of_gpio.h> |
26 | #include <linux/miscdevice.h> | ||
27 | #include <linux/interrupt.h> | 25 | #include <linux/interrupt.h> |
28 | #include <linux/delay.h> | 26 | #include <linux/delay.h> |
29 | #include <linux/nfc.h> | 27 | #include <linux/nfc.h> |
30 | #include <linux/firmware.h> | ||
31 | #include <linux/unaligned/access_ok.h> | ||
32 | #include <linux/platform_data/st21nfcb.h> | 28 | #include <linux/platform_data/st21nfcb.h> |
33 | 29 | ||
34 | #include <net/nfc/nci.h> | ||
35 | #include <net/nfc/llc.h> | ||
36 | #include <net/nfc/nfc.h> | ||
37 | |||
38 | #include "ndlc.h" | 30 | #include "ndlc.h" |
39 | 31 | ||
40 | #define DRIVER_DESC "NCI NFC driver for ST21NFCB" | 32 | #define DRIVER_DESC "NCI NFC driver for ST21NFCB" |
diff --git a/drivers/nfc/st21nfcb/st21nfcb.c b/drivers/nfc/st21nfcb/st21nfcb.c index 64d2eaf40ef8..90d37156169e 100644 --- a/drivers/nfc/st21nfcb/st21nfcb.c +++ b/drivers/nfc/st21nfcb/st21nfcb.c | |||
@@ -22,7 +22,6 @@ | |||
22 | #include <net/nfc/nci_core.h> | 22 | #include <net/nfc/nci_core.h> |
23 | 23 | ||
24 | #include "st21nfcb.h" | 24 | #include "st21nfcb.h" |
25 | #include "ndlc.h" | ||
26 | 25 | ||
27 | #define DRIVER_DESC "NCI NFC driver for ST21NFCB" | 26 | #define DRIVER_DESC "NCI NFC driver for ST21NFCB" |
28 | 27 | ||
diff --git a/drivers/nfc/st21nfcb/st21nfcb.h b/drivers/nfc/st21nfcb/st21nfcb.h index 4bbbebb9f34d..ea58a56ad794 100644 --- a/drivers/nfc/st21nfcb/st21nfcb.h +++ b/drivers/nfc/st21nfcb/st21nfcb.h | |||
@@ -19,8 +19,6 @@ | |||
19 | #ifndef __LOCAL_ST21NFCB_H_ | 19 | #ifndef __LOCAL_ST21NFCB_H_ |
20 | #define __LOCAL_ST21NFCB_H_ | 20 | #define __LOCAL_ST21NFCB_H_ |
21 | 21 | ||
22 | #include <net/nfc/nci_core.h> | ||
23 | |||
24 | #include "ndlc.h" | 22 | #include "ndlc.h" |
25 | 23 | ||
26 | /* Define private flags: */ | 24 | /* Define private flags: */ |