OpenCloudOS-Kernel/drivers/hsi/clients
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
..
Kconfig HSI: nokia-modem: Add cmt-speech support 2015-03-31 22:19:43 +02:00
Makefile HSI: cmt_speech: Add cmt-speech driver 2015-03-31 22:14:04 +02:00
cmt_speech.c HSI: cmt_speech: fix timestamp interface 2015-06-23 02:40:03 +02:00
hsi_char.c HSI: Add channel resource support to HSI clients 2014-05-16 00:54:36 +02:00
nokia-modem.c HSI: nokia-modem: use flags argument of devm_gpiod_get to set direction 2015-06-23 02:40:03 +02:00
ssi_protocol.c HSI changes for the v3.17 series 2014-08-06 20:06:14 -07:00