commit | fa5f509fb5a9d189de9fe59d41be25f6b350b7cb | [log] [tgz] |
---|---|---|
author | Laxman Dewangan <ldewangan@nvidia.com> | Wed May 06 18:20:10 2015 +0530 |
committer | Mark Brown <broonie@kernel.org> | Thu May 21 22:09:52 2015 +0100 |
tree | 09e9d6286db7946cefc8b7386e27252e6f0e160d | |
parent | eaacaa09e42ab9ae0ebc25fc2b72aef02e3f284a [diff] |
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>