aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Zhao <richard.zhao@freescale.com>2011-12-30 13:43:59 +0800
committerEric Miao <eric.miao@linaro.org>2012-01-11 21:45:41 +0800
commit34fc4d6c1821e8a171ee4b081e4d96a01cd608a4 (patch)
tree226d0ce3f52a24e76288798ef9e0781424185c48
parent6a5f43d45a16427dfd361cb3aaaa32b3fb10c50b (diff)
downloadlinux-linaro-34fc4d6c1821e8a171ee4b081e4d96a01cd608a4.tar.gz
regulator/fixed: set apply_uV 0
Signed-off-by: Richard Zhao <richard.zhao@freescale.com>
-rw-r--r--drivers/regulator/fixed.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/regulator/fixed.c b/drivers/regulator/fixed.c
index 12d08c694ae..5a214b4c7c3 100644
--- a/drivers/regulator/fixed.c
+++ b/drivers/regulator/fixed.c
@@ -69,6 +69,7 @@ of_get_fixed_voltage_config(struct device *dev)
return NULL;
init_data = config->init_data;
+ init_data->constraints.apply_uV = 0;
config->supply_name = init_data->constraints.name;
if (init_data->constraints.min_uV == init_data->constraints.max_uV) {