summaryrefslogtreecommitdiff
path: root/drivers/usb
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2015-03-26 23:47:53 +0300
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2015-04-08 12:40:33 +0300
commitb36ae8532f48916d46f92c048d4866ee50e5fc67 (patch)
tree701bc977648c1dc699eb178bc318ebfb322e0acb /drivers/usb
parent4a203349593a636bff46c49be3f955e0a0c0b0d2 (diff)
downloadlinux-b36ae8532f48916d46f92c048d4866ee50e5fc67.tar.xz
[media] media: radio-si4713: improve usage of gpiod API
Since 39b2bbe3d715 (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>
Diffstat (limited to 'drivers/usb')
0 files changed, 0 insertions, 0 deletions