diff options
author | Axel Lin <axel.lin@gmail.com> | 2012-05-16 20:50:45 -0400 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-05-17 18:00:55 -0400 |
commit | 8b370e086b90245ef1da7fa6d41a1da205e11e77 (patch) | |
tree | 09b9fa9384a1535acf4bdab9e143365bbefc5537 /drivers/regulator/rc5t583-regulator.c | |
parent | 4923b48b27fc89710ebc8b77fe0dd679724c0ffc (diff) |
regulator: rc5t583: Remove max_uV from struct rc5t583_regulator_info
This driver has been converted to set_voltage_sel and regulator_map_voltage_linear.
regulator_map_voltage_linear will check the voltage falls within specified range.
The max_uV field is not used now, remove it.
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'drivers/regulator/rc5t583-regulator.c')
-rw-r--r-- | drivers/regulator/rc5t583-regulator.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/regulator/rc5t583-regulator.c b/drivers/regulator/rc5t583-regulator.c index 987fa34627fe..1d34e64a1307 100644 --- a/drivers/regulator/rc5t583-regulator.c +++ b/drivers/regulator/rc5t583-regulator.c | |||
@@ -40,9 +40,6 @@ struct rc5t583_regulator_info { | |||
40 | uint8_t disc_bit; | 40 | uint8_t disc_bit; |
41 | uint8_t deepsleep_reg; | 41 | uint8_t deepsleep_reg; |
42 | 42 | ||
43 | /* Chip constraints on regulator behavior */ | ||
44 | int max_uV; | ||
45 | |||
46 | /* Regulator specific turn-on delay and voltage settling time*/ | 43 | /* Regulator specific turn-on delay and voltage settling time*/ |
47 | int enable_uv_per_us; | 44 | int enable_uv_per_us; |
48 | int change_uv_per_us; | 45 | int change_uv_per_us; |
@@ -106,7 +103,6 @@ static struct regulator_ops rc5t583_ops = { | |||
106 | .reg_disc_reg = RC5T583_REG_##_disc_reg, \ | 103 | .reg_disc_reg = RC5T583_REG_##_disc_reg, \ |
107 | .disc_bit = _disc_bit, \ | 104 | .disc_bit = _disc_bit, \ |
108 | .deepsleep_reg = RC5T583_REG_##_id##DAC_DS, \ | 105 | .deepsleep_reg = RC5T583_REG_##_id##DAC_DS, \ |
109 | .max_uV = _max_mv * 1000, \ | ||
110 | .enable_uv_per_us = _enable_mv * 1000, \ | 106 | .enable_uv_per_us = _enable_mv * 1000, \ |
111 | .change_uv_per_us = 40 * 1000, \ | 107 | .change_uv_per_us = 40 * 1000, \ |
112 | .deepsleep_id = RC5T583_DS_##_id, \ | 108 | .deepsleep_id = RC5T583_DS_##_id, \ |