diff options
author | Christophe Ricard <christophe.ricard@gmail.com> | 2014-11-13 00:30:26 +0100 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2014-12-02 00:54:23 +0100 |
commit | a80d0cb6f6addc5a1f3852466fe8d37ca4fe1350 (patch) | |
tree | 1f7a36f5391417ae14ca1d952130923497e94201 /drivers/nfc/pn533.c | |
parent | d9b66918943eff161646ef2358101b5973ccc22c (diff) | |
download | linux-a80d0cb6f6addc5a1f3852466fe8d37ca4fe1350.tar.bz2 |
NFC: st21nfcb: 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 st21nfcb_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 'drivers/nfc/pn533.c')
0 files changed, 0 insertions, 0 deletions