regulator: mp886x: implement set_ramp_delay
authorJisheng Zhang <Jisheng.Zhang@synaptics.com>
Wed, 29 Jul 2020 05:09:13 +0000 (13:09 +0800)
committerMark Brown <broonie@kernel.org>
Fri, 31 Jul 2020 18:53:35 +0000 (19:53 +0100)
commit0eddcf0267f913cb6336af64cadaf5acf6b19b7b
treedd3485fa0d32ef185012d55e5d9a1997e0508633
parentbcb3b2a7639db2412875520cddc3abd179068793
regulator: mp886x: implement set_ramp_delay

Implement the .set_ramp_delay for MP8867 and MP8869. MP8867 and MP8869
could share the implementation, the only difference is the slew_rates
array.

Signed-off-by: Jisheng Zhang <Jisheng.Zhang@synaptics.com>
Link: https://lore.kernel.org/r/20200729130913.3ac38b32@xhacker
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/mp886x.c