regulator: gpio: Use gpio_is_valid
Use gpio_is_valid instead of an explicit comparison with 0. Signed-off-by: NMarkus Pargmann <mpa@pengutronix.de> Signed-off-by: NMark Brown <broonie@kernel.org>
Showing
想要评论请 注册 或 登录
Use gpio_is_valid instead of an explicit comparison with 0. Signed-off-by: NMarkus Pargmann <mpa@pengutronix.de> Signed-off-by: NMark Brown <broonie@kernel.org>