diff options
| author | Uwe Kleine-König <[email protected]> | 2015-03-26 17:47:53 -0300 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2015-04-08 06:40:33 -0300 |
| commit | b36ae8532f48916d46f92c048d4866ee50e5fc67 (patch) | |
| tree | 701bc977648c1dc699eb178bc318ebfb322e0acb /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | 4a203349593a636bff46c49be3f955e0a0c0b0d2 (diff) | |
[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 <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions