]> git.ipfire.org Git - thirdparty/u-boot.git/commit
power: regulator: common: use dm_gpio_is_valid helper
authorJulien Stephan <jstephan@baylibre.com>
Thu, 15 Jan 2026 14:30:44 +0000 (15:30 +0100)
committerPeng Fan <peng.fan@nxp.com>
Thu, 22 Jan 2026 02:01:10 +0000 (10:01 +0800)
commit0411cac1616c5ac3223367e054f4e8eb3ad524bc
tree6521509d14ce4449aded655ac6ff1f3489d23649
parent7dbec4f77c907c20c1ae707bfdd8ac356b0e0986
power: regulator: common: use dm_gpio_is_valid helper

Use dm_gpio_is_valid() helper function instead of manually checking the
gpio.

Reviewed-by: Peng Fan <peng.fan@nxp.com>
Reviewed-by: Tanmay Kathpalia <tanmay.kathpalia@altera.com>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Signed-off-by: Julien Stephan <jstephan@baylibre.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
drivers/power/regulator/regulator_common.c