alistair23-linux/drivers/media/radio/si4713
Uwe Kleine-König b36ae8532f [media] media: radio-si4713: improve usage of gpiod API
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 accordingly.

Moreover use the _optional variant which has tighter error checking, but
is simpler to use which allows further simplification.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
2015-04-08 06:40:33 -03:00
..
Kconfig [media] si4713: fix Kconfig dependencies 2014-03-28 18:06:55 -03:00
Makefile [media] si4713: Added the USB driver for Si4713 2013-12-18 06:37:57 -02:00
radio-platform-si4713.c Driver core patches for 3.19-rc1 2014-12-14 16:10:09 -08:00
radio-usb-si4713.c [media] media: remove the setting of the flag V4L2_FL_USE_FH_PRIO 2014-07-04 16:14:59 -03:00
si4713.c [media] media: radio-si4713: improve usage of gpiod API 2015-04-08 06:40:33 -03:00
si4713.h [media] si4713: add device tree support 2014-11-14 18:08:19 -02:00