From 2a4747d3cd515168affaaadd8d10928e0ebb4996 Mon Sep 17 00:00:00 2001 From: Keerthy Date: Tue, 13 Jun 2017 09:53:51 +0530 Subject: [PATCH] power: regulator: tps65090: get_enable should return integer get_enable should be able to return error values. Hence change the return type to integer. Signed-off-by: Keerthy Reviewed-by: Simon Glass --- drivers/power/regulator/tps65090_regulator.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/power/regulator/tps65090_regulator.c b/drivers/power/regulator/tps65090_regulator.c index affc504071..32aeab98e2 100644 --- a/drivers/power/regulator/tps65090_regulator.c +++ b/drivers/power/regulator/tps65090_regulator.c @@ -23,7 +23,7 @@ static int tps65090_fet_probe(struct udevice *dev) return 0; } -static bool tps65090_fet_get_enable(struct udevice *dev) +static int tps65090_fet_get_enable(struct udevice *dev) { struct udevice *pmic = dev_get_parent(dev); int ret, fet_id; -- 2.39.5