mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-01 08:59:33 +00:00
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
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue