diff options
author | Axel Lin <[email protected]> | 2015-05-09 23:08:33 +0800 |
---|---|---|
committer | Mark Brown <[email protected]> | 2015-05-12 18:52:12 +0100 |
commit | 79ffbf11b77d4ded9935cdd291a84936b7f003ef (patch) | |
tree | 1b8ef590a6f651ec9a9659a867fb6d33e70a0974 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | b787f68c36d49bb1d9236f403813641efa74a031 (diff) |
ASoC: sta32x: Use devm_gpiod_get_optional at appropriate place
devm_gpiod_get_optional() is equivalent to devm_gpiod_get(), except that
when no GPIO was assigned to the requested function it will return NULL.
This is convenient for drivers that need to handle optional GPIOs.
Signed-off-by: Axel Lin <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions