summaryrefslogtreecommitdiffstats
path: root/include/linux/platform_data
diff options
context:
space:
mode:
authorChristophe Ricard2014-11-13 00:30:23 +0100
committerSamuel Ortiz2014-12-02 00:29:23 +0100
commit40af86a40cdcabd48ab9636fe13d6763a7d74bc9 (patch)
tree29804240c4731b4924fbc84b6e887d8d8c92575c /include/linux/platform_data
parentNFC: st21nfca: Add of_st21nfca_i2c_match to MODULE_DEVICE_TABLE (diff)
downloadkernel-qcow2-linux-40af86a40cdcabd48ab9636fe13d6763a7d74bc9.tar.gz
kernel-qcow2-linux-40af86a40cdcabd48ab9636fe13d6763a7d74bc9.tar.xz
kernel-qcow2-linux-40af86a40cdcabd48ab9636fe13d6763a7d74bc9.zip
NFC: st21nfca: Remove gpio_irq field in static and dts configuration
- phy->gpio_irq is never done out of the request resources. - irq_of_parse_and_map is already done in the i2c core so client->irq is already set when entering in st21nfca_hci_i2c_of_request_resources - In case of static platform configuration client->irq can be set directly - It simplifies the code a bit. Signed-off-by: Christophe Ricard <christophe-h.ricard@st.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'include/linux/platform_data')
-rw-r--r--include/linux/platform_data/st21nfca.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/platform_data/st21nfca.h b/include/linux/platform_data/st21nfca.h
index 1730312398ff..5087fff96d86 100644
--- a/include/linux/platform_data/st21nfca.h
+++ b/include/linux/platform_data/st21nfca.h
@@ -24,7 +24,6 @@
#define ST21NFCA_HCI_DRIVER_NAME "st21nfca_hci"
struct st21nfca_nfc_platform_data {
- unsigned int gpio_irq;
unsigned int gpio_ena;
unsigned int irq_polarity;
};