projects
/
platform
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
43d0247
)
power: regulator: lp87565: get_enable should return integer
author
Keerthy
<j-keerthy@ti.com>
Tue, 13 Jun 2017 04:23:56 +0000
(09:53 +0530)
committer
Jaehoon Chung
<jh80.chung@samsung.com>
Wed, 19 Jul 2017 10:13:59 +0000
(19:13 +0900)
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>
drivers/power/regulator/lp87565_regulator.c
patch
|
blob
|
history
diff --git
a/drivers/power/regulator/lp87565_regulator.c
b/drivers/power/regulator/lp87565_regulator.c
index 2a0b8ca64236e83a86a86ecba46bb7889358f160..d908f6d1fb2c1e720237db153473dea49234a5ae 100644
(file)
--- a/
drivers/power/regulator/lp87565_regulator.c
+++ b/
drivers/power/regulator/lp87565_regulator.c
@@
-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;