aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/regulator/ab8500.c
diff options
context:
space:
mode:
authorLee Jones <lee.jones@linaro.org>2013-04-02 08:24:16 -0400
committerMark Brown <broonie@opensource.wolfsonmicro.com>2013-04-03 13:40:26 -0400
commita4d68468ca6b24786ba0541bca27871f47e135b1 (patch)
tree6ec109342154e987d93a902d464953822682fdf0 /drivers/regulator/ab8500.c
parent684d5ce4afafddb2ad08f36ea30ca7d7adc88ebe (diff)
regulator: ab8500: Set enable enable_time in regulator_desc
Allow the regulator framework to directly access the time it takes any given regulator to settle. This saves time and code because without it we would have to implement a dedication function to read the value from elsewhere. Signed-off-by: Lee Jones <lee.jones@linaro.org> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'drivers/regulator/ab8500.c')
-rw-r--r--drivers/regulator/ab8500.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/regulator/ab8500.c b/drivers/regulator/ab8500.c
index 433cac4396df..8a9cd45eac02 100644
--- a/drivers/regulator/ab8500.c
+++ b/drivers/regulator/ab8500.c
@@ -1106,6 +1106,7 @@ static struct ab8500_regulator_info
1106 .owner = THIS_MODULE, 1106 .owner = THIS_MODULE,
1107 .n_voltages = 1, 1107 .n_voltages = 1,
1108 .volt_table = fixed_2000000_voltage, 1108 .volt_table = fixed_2000000_voltage,
1109 .enable_time = 10000,
1109 }, 1110 },
1110 .delay = 10000, 1111 .delay = 10000,
1111 .load_lp_uA = 1000, 1112 .load_lp_uA = 1000,
@@ -1371,6 +1372,7 @@ static struct ab8500_regulator_info
1371 .owner = THIS_MODULE, 1372 .owner = THIS_MODULE,
1372 .n_voltages = 1, 1373 .n_voltages = 1,
1373 .volt_table = fixed_2000000_voltage, 1374 .volt_table = fixed_2000000_voltage,
1375 .enable_time = 10000,
1374 }, 1376 },
1375 .delay = 10000, 1377 .delay = 10000,
1376 .load_lp_uA = 1000, 1378 .load_lp_uA = 1000,
@@ -1668,6 +1670,7 @@ static struct ab8500_regulator_info
1668 .id = AB8540_LDO_TVOUT, 1670 .id = AB8540_LDO_TVOUT,
1669 .owner = THIS_MODULE, 1671 .owner = THIS_MODULE,
1670 .n_voltages = 1, 1672 .n_voltages = 1,
1673 .enable_time = 10000,
1671 }, 1674 },
1672 .delay = 10000, 1675 .delay = 10000,
1673 .load_lp_uA = 1000, 1676 .load_lp_uA = 1000,