linux/drivers/nfc/nxp-nci
Stephan Gerhold 868afbaca1 NFC: nxp-nci: Fix probing without ACPI
devm_acpi_dev_add_driver_gpios() returns -ENXIO if CONFIG_ACPI
is disabled (e.g. on device tree platforms).
In this case, nxp-nci will silently fail to probe.

The other NFC drivers only log a debug message if
devm_acpi_dev_add_driver_gpios() fails.
Do the same in nxp-nci to fix this problem.

Fixes: ad0acfd69a ("NFC: nxp-nci: Get rid of code duplication in ->probe()")
Cc: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Stephan Gerhold <stephan@gerhold.net>
Acked-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2019-12-09 20:15:17 -08:00
..
core.c NFC: nxp-nci: Convert to use GPIO descriptor 2019-07-29 08:56:26 -07:00
firmware.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 399 2019-06-05 17:37:12 +02:00
i2c.c NFC: nxp-nci: Fix probing without ACPI 2019-12-09 20:15:17 -08:00
Kconfig NFC: nxp-nci: Fix recommendation for NFC_NXP_NCI_I2C Kconfig 2019-07-29 08:56:27 -07:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
nxp-nci.h NFC: nxp-nci: Get rid of platform data 2019-07-29 08:56:26 -07:00