]> git.baikalelectronics.ru Git - kernel.git/commit
regulator: ltc3589: Convert to use regulator_set_ramp_delay_regmap
authorAxel Lin <axel.lin@ingics.com>
Fri, 4 Jun 2021 11:58:03 +0000 (19:58 +0800)
committerMark Brown <broonie@kernel.org>
Tue, 8 Jun 2021 12:37:45 +0000 (13:37 +0100)
commit0cfdae13fc33e0e06e25029dd1b9e5cd97c57734
treecf51286af8de27718d0d66241618d9f184612f45
parent43cfe969638dae26d2206ae3c0e9110e03b48ee9
regulator: ltc3589: Convert to use regulator_set_ramp_delay_regmap

Use regulator_set_ramp_delay_regmap instead of open-coded

LTC3589_LINEAR_REG() no longer call LTC3589_REG() now.
Only LTC3589_LINEAR_REG() needs to set go_bit, thus remove go_bit
parameter from LTC3589_REG() macro.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Link: https://lore.kernel.org/r/20210604115803.1260976-1-axel.lin@ingics.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/ltc3589.c