linux/drivers/nfc/nxp-nci
Uwe Kleine-König 3bfe76806f NFC: nxp-nci_i2c: use flags argument of devm_gpiod_get_index
Since 39b2bbe3d7 (gpio: add flags argument to gpiod_get*() functions)
which appeared in v3.17-rc1, the gpiod_get* functions take an additional
parameter that allows to specify direction and initial value for output.

Simplify driver accordingly which even makes error checking more correct
because gpiod_direction_{in,out}put might fail. Furthermore this is one
caller less that stops us making the flags argument to gpiod_get*()
mandatory.

Acked-by: Oleg Zhurakivskyy <oleg.zhurakivskyy@intel.com>
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
2015-07-06 10:10:22 +02:00
..
core.c
firmware.c NFC: nxp-nci: Release firmware when switching to FW mode fails 2015-04-06 00:58:51 +02:00
i2c.c NFC: nxp-nci_i2c: use flags argument of devm_gpiod_get_index 2015-07-06 10:10:22 +02:00
Kconfig NFC: nxp-nci_i2c: Add I2C support to NXP NCI driver 2015-03-26 11:21:41 +01:00
Makefile NFC: Remove obsolete setting of DEBUG 2015-06-09 00:34:09 +02:00
nxp-nci.h