NFC: st21nfca: Remove gpio_irq field in static and dts configuration
authorChristophe Ricard <christophe.ricard@gmail.com>
Wed, 12 Nov 2014 23:30:23 +0000 (00:30 +0100)
committerSamuel Ortiz <sameo@linux.intel.com>
Mon, 1 Dec 2014 23:29:23 +0000 (00:29 +0100)
commit40af86a40cdcabd48ab9636fe13d6763a7d74bc9
tree29804240c4731b4924fbc84b6e887d8d8c92575c
parent17e40107985c06cfce87f1c19346c69f00a877c3
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>
drivers/nfc/st21nfca/i2c.c
include/linux/platform_data/st21nfca.h