diff options
author | Laxman Dewangan <ldewangan@nvidia.com> | 2015-05-06 18:20:10 +0530 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-05-21 22:09:52 +0100 |
commit | fa5f509fb5a9d189de9fe59d41be25f6b350b7cb (patch) | |
tree | 09e9d6286db7946cefc8b7386e27252e6f0e160d /README | |
parent | eaacaa09e42ab9ae0ebc25fc2b72aef02e3f284a (diff) | |
download | linux-fa5f509fb5a9d189de9fe59d41be25f6b350b7cb.tar.gz linux-fa5f509fb5a9d189de9fe59d41be25f6b350b7cb.tar.xz |
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 'README')
0 files changed, 0 insertions, 0 deletions