1
0
Fork 0
alistair23-linux/drivers/hsi
Uwe Kleine-König f451e76f89 HSI: nokia-modem: 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.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Acked-by: Alexandre Courbot <acourbot@nvidia.com>
Signed-off-by: Sebastian Reichel <sre@kernel.org>
2015-06-23 02:40:03 +02:00
..
clients HSI: nokia-modem: use flags argument of devm_gpiod_get to set direction 2015-06-23 02:40:03 +02:00
controllers * misc. fixes in omap-ssi and nokia-modem drivers 2014-12-15 17:33:47 -08:00
Kconfig HSI: Introduce OMAP SSI driver 2014-05-16 00:54:51 +02:00
Makefile HSI: Introduce OMAP SSI driver 2014-05-16 00:54:51 +02:00
hsi.c HSI: Add common DT binding for HSI client devices 2014-05-16 00:54:45 +02:00
hsi_boardinfo.c HSI: hsi: Introducing HSI framework 2012-01-05 15:42:13 +02:00
hsi_core.h HSI: hsi: Introducing HSI framework 2012-01-05 15:42:13 +02:00