summaryrefslogtreecommitdiffstats
path: root/drivers/nfc
diff options
context:
space:
mode:
authorChristophe Ricard <christophe.ricard@gmail.com>2015-12-23 23:45:23 +0100
committerSamuel Ortiz <sameo@linux.intel.com>2015-12-29 19:06:22 +0100
commit3897de6a6eb74ff8f25c2021431bedd4ba138685 (patch)
tree55a327fc9d2c94b2cc3867458c38b3c487b6aed3 /drivers/nfc
parent0b0a264df5d3854c3e6411c28616d2148c897bad (diff)
downloadlinux-stable-3897de6a6eb74ff8f25c2021431bedd4ba138685.tar.gz
linux-stable-3897de6a6eb74ff8f25c2021431bedd4ba138685.tar.bz2
linux-stable-3897de6a6eb74ff8f25c2021431bedd4ba138685.zip
nfc: microread: Remove useless irq field
In microread_i2c_phy, irq field is never used. Signed-off-by: Christophe Ricard <christophe-h.ricard@st.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/nfc')
-rw-r--r--drivers/nfc/microread/i2c.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/nfc/microread/i2c.c b/drivers/nfc/microread/i2c.c
index daf352597ef8..918e8f2eac47 100644
--- a/drivers/nfc/microread/i2c.c
+++ b/drivers/nfc/microread/i2c.c
@@ -50,8 +50,6 @@ struct microread_i2c_phy {
struct i2c_client *i2c_dev;
struct nfc_hci_dev *hdev;
- int irq;
-
int hard_fault; /*
* < 0 if hardware error occured (e.g. i2c err)
* and prevents normal operation.