linux/drivers/nfc/st-nci
Christophe Ricard 1f34b20404 NFC: st-nci: spi: Drop two useless checks in ACPI probe path
When st_nci_spi_acpi_request_resources() gets called we
already know that the entries in ->acpi_match_table have
matched ACPI ID of the device.
In addition spi_device pointer cannot be NULL in any case
(otherwise SPI 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:38:13 +02:00
..
core.c
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
ndlc.c
ndlc.h
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: spi: Drop two useless checks in ACPI probe path 2016-05-04 01:38:13 +02:00
st-nci.h
vendor_cmds.c