diff options
author | 2015-05-06 18:20:10 +0530 | |
---|---|---|
committer | 2015-05-21 22:09:52 +0100 | |
commit | fa5f509fb5a9d189de9fe59d41be25f6b350b7cb (patch) | |
tree | 09e9d6286db7946cefc8b7386e27252e6f0e160d /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | regulator: max8973: make default/unset dvs gpio as invalid gpio (diff) | |
download | linux-dev-fa5f509fb5a9d189de9fe59d41be25f6b350b7cb.tar.xz linux-dev-fa5f509fb5a9d189de9fe59d41be25f6b350b7cb.zip |
regulator: max8973: get rid of extra variable for gpio validity
To find that dvs-gpio is valid or not, gpio API gpio_is_valid()
can be directly used instead of intermediate variable.
Removing the extra variable and using the gpio_is_valid().
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions