linux-kernel-test/drivers/nfc
Uwe Kleine-König 8a2151c587 NFC: pn544: use flags argument of devm_gpiod_get to set direction
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.

Use this to simplify the driver. Furthermore this is one caller less
that stops us making the flags argument to gpiod_get*() mandatory.

While touching this also do some minor coding style fixes.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
2015-06-09 00:34:19 +02:00
..
microread NFC: microread: drop unused variable 2015-06-09 00:34:19 +02:00
nfcmrvl NFC: logging neatening 2015-04-07 12:05:12 +02:00
nxp-nci NFC: Remove obsolete setting of DEBUG 2015-06-09 00:34:09 +02:00
pn544 NFC: pn544: use flags argument of devm_gpiod_get to set direction 2015-06-09 00:34:19 +02:00
st21nfca nfc: st21nfca: Add additional comments about EVT_TRANSACTION 2015-04-06 00:21:10 +02:00
st21nfcb NFC: logging neatening 2015-04-07 12:05:12 +02:00
Kconfig NFC: nxp-nci: Add support for NXP NCI chips 2015-03-26 11:07:50 +01:00
Makefile NFC: Remove obsolete setting of DEBUG 2015-06-09 00:34:09 +02:00
mei_phy.c NFC: mei_phy: Using kfree_skb() instead of kfree() 2014-01-04 03:32:26 +01:00
mei_phy.h NFC: mei: Add a common mei bus API for NFC drivers 2013-04-16 00:39:31 +02:00
nfcsim.c NFC: Convert nfc_dev_info and nfc_dev_err to nfc_<level> 2013-09-25 01:35:39 +02:00
nfcwilink.c nfc: drop owner assignment from platform_drivers 2014-10-20 16:21:19 +02:00
pn533.c NFC: logging neatening 2015-04-07 12:05:12 +02:00
port100.c NFC: logging neatening 2015-04-07 12:05:12 +02:00
trf7970a.c NFC: trf7970a: Handle extra byte in response to Type 5 RMB commands 2015-06-08 23:16:31 +02:00