]> git.baikalelectronics.ru Git - kernel.git/commit
regulator: qcom-rpmh: Implement get_optimum_mode(), not set_load()
authorDouglas Anderson <dianders@chromium.org>
Tue, 26 Jul 2022 17:20:29 +0000 (10:20 -0700)
committerMark Brown <broonie@kernel.org>
Mon, 15 Aug 2022 11:17:25 +0000 (12:17 +0100)
commit8f76d20e5e8180ef3797d858257c8d2b63dfd7d2
tree9ebbef52cfae17433320e8d775c1088ad0ca3fb0
parente253ecc2c19990024db1402caaaf00f0f446b693
regulator: qcom-rpmh: Implement get_optimum_mode(), not set_load()

Since we don't actually pass the load to the firmware, switch to using
get_optimum_mode() instead of open-coding it.

This is intended to have no effect other than cleanup.

Signed-off-by: Douglas Anderson <dianders@chromium.org>
Link: https://lore.kernel.org/r/20220726102024.1.Icc838fe7bf0ef54a014ab2fee8af311654f5342a@changeid
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/qcom-rpmh-regulator.c