aboutsummaryrefslogtreecommitdiff
path: root/drivers/regulator
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/regulator')
-rw-r--r--drivers/regulator/pcf50633-regulator.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/regulator/pcf50633-regulator.c b/drivers/regulator/pcf50633-regulator.c
index f8e1fafb03f..343f43e2392 100644
--- a/drivers/regulator/pcf50633-regulator.c
+++ b/drivers/regulator/pcf50633-regulator.c
@@ -189,7 +189,7 @@ static int pcf50633_regulator_get_voltage(struct regulator_dev *rdev)
return -EINVAL;
}
- return rc;
+ return rc * 1000;
}
static int pcf50633_regulator_enable(struct regulator_dev *rdev)