]> git.karo-electronics.de Git - linux-beck.git/commit
regulator: fixed: Use gpio_is_valid
authorMarkus Pargmann <mpa@pengutronix.de>
Mon, 3 Nov 2014 18:12:05 +0000 (19:12 +0100)
committerMark Brown <broonie@kernel.org>
Fri, 7 Nov 2014 11:30:25 +0000 (11:30 +0000)
commit5315fe2f8defc012a5800423be3f6098f95527d7
treedbd57667eaf2182e80583023d0d41a6695ef02e6
parent1de3821ace8200432993821bfda043827029de2a
regulator: fixed: Use gpio_is_valid

Use gpio_is_valid instead of an explicit comparison with 0.

Signed-off-by: Markus Pargmann <mpa@pengutronix.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/fixed.c