Commit cd81a91d authored by Michał Mirosław's avatar Michał Mirosław Committed by Mark Brown

regulator: act8865: rename fixed LDO ops

Rename act8865_ldo_ops to act8865_fixed_ldo_ops to make room for
variable-output LDO ops change.
Signed-off-by: default avatarMichał Mirosław <mirq-linux@rere.qmqm.pl>
Link: https://lore.kernel.org/r/12b1fe419e93dfe663990009bf1b2fbf630e9934.1563898936.git.mirq-linux@rere.qmqm.plSigned-off-by: default avatarMark Brown <broonie@kernel.org>
parent 03b77f0b
...@@ -233,7 +233,7 @@ static const struct regulator_ops act8865_ops = { ...@@ -233,7 +233,7 @@ static const struct regulator_ops act8865_ops = {
.is_enabled = regulator_is_enabled_regmap, .is_enabled = regulator_is_enabled_regmap,
}; };
static const struct regulator_ops act8865_ldo_ops = { static const struct regulator_ops act8865_fixed_ldo_ops = {
.enable = regulator_enable_regmap, .enable = regulator_enable_regmap,
.disable = regulator_disable_regmap, .disable = regulator_disable_regmap,
.is_enabled = regulator_is_enabled_regmap, .is_enabled = regulator_is_enabled_regmap,
...@@ -287,7 +287,7 @@ static const struct regulator_desc act8600_regulators[] = { ...@@ -287,7 +287,7 @@ static const struct regulator_desc act8600_regulators[] = {
.of_match = of_match_ptr("LDO_REG9"), .of_match = of_match_ptr("LDO_REG9"),
.regulators_node = of_match_ptr("regulators"), .regulators_node = of_match_ptr("regulators"),
.id = ACT8600_ID_LDO9, .id = ACT8600_ID_LDO9,
.ops = &act8865_ldo_ops, .ops = &act8865_fixed_ldo_ops,
.type = REGULATOR_VOLTAGE, .type = REGULATOR_VOLTAGE,
.n_voltages = 1, .n_voltages = 1,
.fixed_uV = 3300000, .fixed_uV = 3300000,
...@@ -300,7 +300,7 @@ static const struct regulator_desc act8600_regulators[] = { ...@@ -300,7 +300,7 @@ static const struct regulator_desc act8600_regulators[] = {
.of_match = of_match_ptr("LDO_REG10"), .of_match = of_match_ptr("LDO_REG10"),
.regulators_node = of_match_ptr("regulators"), .regulators_node = of_match_ptr("regulators"),
.id = ACT8600_ID_LDO10, .id = ACT8600_ID_LDO10,
.ops = &act8865_ldo_ops, .ops = &act8865_fixed_ldo_ops,
.type = REGULATOR_VOLTAGE, .type = REGULATOR_VOLTAGE,
.n_voltages = 1, .n_voltages = 1,
.fixed_uV = 1200000, .fixed_uV = 1200000,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment