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 <j-keerthy@ti.com> Reviewed-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
117daa8220
commit
2a4747d3cd
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user