summaryrefslogtreecommitdiff
path: root/drivers/nfc
diff options
context:
space:
mode:
authorLukasz Czerwinski <l.czerwinski@samsung.com>2013-06-13 15:06:33 +0200
committerChanho Park <chanho61.park@samsung.com>2014-03-20 17:34:08 +0900
commit1011b9e7f0575512853ea0cb2923ff5dc455bea0 (patch)
tree5058ea8e868c898ca3bc33cdfc9f4126103bab5d /drivers/nfc
parent54fb583bd345435ff46378c35ef7e67ed9f9bcf1 (diff)
downloadlinux-3.10-1011b9e7f0575512853ea0cb2923ff5dc455bea0.tar.gz
linux-3.10-1011b9e7f0575512853ea0cb2923ff5dc455bea0.tar.bz2
linux-3.10-1011b9e7f0575512853ea0cb2923ff5dc455bea0.zip
nfc: pn544-i2c: Remove unused gpio_irq
This patch removes unused gpio irq pin from driver. Signed-off-by: Lukasz Czerwinski <l.czerwinski@samsung.com>
Diffstat (limited to 'drivers/nfc')
-rw-r--r--drivers/nfc/pn544/i2c.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/drivers/nfc/pn544/i2c.c b/drivers/nfc/pn544/i2c.c
index 5edcb188c30..8a848c2021e 100644
--- a/drivers/nfc/pn544/i2c.c
+++ b/drivers/nfc/pn544/i2c.c
@@ -69,7 +69,6 @@ struct pn544_i2c_phy {
struct nfc_hci_dev *hdev;
unsigned int gpio_en;
- unsigned int gpio_irq;
unsigned int gpio_fw;
unsigned int en_polarity;
@@ -393,7 +392,6 @@ static int pn544_hci_i2c_parse_pdata(
phy->gpio_en = pdata->get_gpio(NFC_GPIO_ENABLE);
phy->gpio_fw = pdata->get_gpio(NFC_GPIO_FW_RESET);
- phy->gpio_irq = pdata->get_gpio(NFC_GPIO_IRQ);
return 0;
}
@@ -401,8 +399,7 @@ static int pn544_hci_i2c_parse_pdata(
#ifdef CONFIG_OF
static const char * const pn544_hci_i2c_gpio_names[] = {
"nfc_gpio_enable",
- "nfc_gpio_fw_reset",
- "nfc_gpio_irq"
+ "nfc_gpio_fw_reset"
};
static int pn544_hci_i2c_parse_dt(struct i2c_client *client,
@@ -426,9 +423,6 @@ static int pn544_hci_i2c_parse_dt(struct i2c_client *client,
case NFC_GPIO_FW_RESET:
phy->gpio_fw = gpio;
break;
- case NFC_GPIO_IRQ:
- phy->gpio_irq = gpio;
- break;
default:
break;
}