linux-stable/drivers/nfc/st-nci
Christophe Ricard 4ac52a0fd0 NFC: st-nci: i2c: Drop two useless checks in ACPI probe path
When st_nci_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:37:13 +02:00
..
core.c NFC: st-nci: Add ese-present/uicc-present dts properties 2015-10-27 03:55:10 +01:00
i2c.c NFC: st-nci: i2c: Drop two useless checks in ACPI probe path 2016-05-04 01:37:13 +02:00
Kconfig NFC: st-nci: Auto-select core module 2015-12-29 19:06:19 +01:00
Makefile NFC: st-nci: Replace st21nfcb by st_nci in makefile 2015-10-27 03:55:15 +01:00
ndlc.c nfc: st-nci: Remove useless #include "ndlc.h" 2015-12-29 19:06:13 +01:00
ndlc.h NFC: st-nci: Add ese-present/uicc-present dts properties 2015-10-27 03:55:10 +01:00
se.c nfc: st-nci: A APDU_READER_GATE pipe is unexpected on a UICC 2016-05-04 01:33:08 +02:00
spi.c nfc: st-nci: set is_ese_present and is_uicc_present properly 2016-05-04 01:31:07 +02:00
st-nci.h NFC: st-nci: Add ese-present/uicc-present dts properties 2015-10-27 03:55:10 +01:00
vendor_cmds.c NFC: st-nci: Add support for proprietary commands 2015-10-27 03:55:01 +01:00