projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ba499a5
)
regulator: max77802: Remove .set_ramp_delay from max77802_buck_dvs_ops
author
Axel Lin
<axel.lin@ingics.com>
Sun, 23 May 2021 07:23:19 +0000
(15:23 +0800)
committer
Mark Brown
<broonie@kernel.org>
Thu, 3 Jun 2021 13:04:50 +0000
(14:04 +0100)
max77802_set_ramp_delay_2bit() returns -EINVAL when id > MAX77802_BUCK4.
This was a leftover in commit
b0615f1da543
("regulator: max77802: Split regulator operations for BUCKs").
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Link:
https://lore.kernel.org/r/20210523072320.2174443-1-axel.lin@ingics.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/max77802-regulator.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/regulator/max77802-regulator.c
b/drivers/regulator/max77802-regulator.c
index 7b8ec8c0bd1511a283ef4619867f98be59260c3c..903c6fc10efbca6ca63a2dd168d0777d21a9ad65 100644
(file)
--- a/
drivers/regulator/max77802-regulator.c
+++ b/
drivers/regulator/max77802-regulator.c
@@
-345,7
+345,6
@@
static const struct regulator_ops max77802_buck_dvs_ops = {
.get_voltage_sel = regulator_get_voltage_sel_regmap,
.set_voltage_sel = regulator_set_voltage_sel_regmap,
.set_voltage_time_sel = regulator_set_voltage_time_sel,
- .set_ramp_delay = max77802_set_ramp_delay_2bit,
.set_suspend_disable = max77802_set_suspend_disable,
};