]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
regulator: s2mps11: refactor S2MPG10 regulator macros for S2MPG11 reuse
authorAndré Draszik <andre.draszik@linaro.org>
Thu, 22 Jan 2026 15:43:45 +0000 (15:43 +0000)
committerMark Brown <broonie@kernel.org>
Wed, 4 Feb 2026 13:35:39 +0000 (13:35 +0000)
commit102dd11fc98261675a0664de1466616d7dad8d91
tree4f35fa1c72314cb69b648b1858c92e2fa0dc8adf
parent8f23cfbe4463c3de2e552aed106e179c0c932b6e
regulator: s2mps11: refactor S2MPG10 regulator macros for S2MPG11 reuse

Rails in the S2MPG11 share a very similar set of properties with
S2MPG10 with slight differences. Update the existing macros to allow
reuse by the upcoming S2MPG11 driver.

Signed-off-by: André Draszik <andre.draszik@linaro.org>
Link: https://patch.msgid.link/20260122-s2mpg1x-regulators-v7-18-3b1f9831fffd@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/s2mps11.c