Skip to content
Snippets Groups Projects
Commit a79e8dfe authored by Keerthy's avatar Keerthy Committed by Jaehoon Chung
Browse files

power: regulator: lp87565: get_enable should return integer


get_enable should be able to return error values. Hence change
the return type to integer.

Signed-off-by: default avatarKeerthy <j-keerthy@ti.com>
Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
parent 43d0247e
No related branches found
No related tags found
No related merge requests found
......@@ -166,7 +166,7 @@ static int buck_set_value(struct udevice *dev, int uV)
return lp87565_buck_val(dev, PMIC_OP_SET, &uV);
}
static bool buck_get_enable(struct udevice *dev)
static int buck_get_enable(struct udevice *dev)
{
bool enable = false;
int ret;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment