linux/drivers/nfc/pn544
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
..
i2c.c NFC: pn544: use flags argument of devm_gpiod_get to set direction 2015-06-09 00:34:19 +02:00
Kconfig NFC: pn544: Add MEI physical layer 2013-04-16 00:39:41 +02:00
Makefile NFC: pn544: Add MEI physical layer 2013-04-16 00:39:41 +02:00
mei.c nfc: Fix FSF address in file headers 2013-12-11 10:56:21 -05:00
pn544.c NFC: pn544: Change event_received gate parameter to pipe 2015-01-28 00:03:35 +01:00
pn544.h NFC: pn544: Pass hardware variant information when downloading firmware 2014-02-16 23:49:54 +01:00