linux/drivers/nfc/st21nfca
Christophe Ricard 070718a499 NFC: st21nfca: Drop two useless checks in ACPI probe path
When st21nfca_hci_i2c_acpi_request_resources() gets called we
already know that the entries in ->acpi_match_table have matched
ACPI ID of the device.
In addition I2C client pointer cannot be NULL in any case
(otherwise I2C core would not call ->probe() for the driver in
the first place).

Drop the two useless checks from the driver.

Signed-off-by: Christophe Ricard <christophe-h.ricard@st.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
2016-05-04 01:36:24 +02:00
..
core.c nfc: st21nfca: A APDU_READER_GATE pipe is unexpected on a UICC 2016-05-04 01:33:52 +02:00
dep.c NFC: st21nfca: Add error messages for unexpected HCI events 2015-10-27 03:55:13 +01:00
i2c.c NFC: st21nfca: Drop two useless checks in ACPI probe path 2016-05-04 01:36:24 +02:00
Kconfig NFC: st21nfca: Auto-select core module 2015-12-29 19:06:19 +01:00
Makefile NFC: st21nfca: Add support for proprietary commands 2015-10-27 04:00:24 +01:00
se.c nfc: st21nfca: Add support for HCI event connectivity 2015-12-29 19:06:20 +01:00
st21nfca.h NFC: st21nfca: Add support for proprietary commands 2015-10-27 04:00:24 +01:00
vendor_cmds.c NFC: st21nfca: Add support for proprietary commands 2015-10-27 04:00:24 +01:00