From: Keerthy Date: Tue, 13 Jun 2017 04:23:51 +0000 (+0530) Subject: power: regulator: tps65090: get_enable should return integer X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=2a4747d3cd515168affaaadd8d10928e0ebb4996;p=u-boot.git 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 --- 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;