]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
regulator: s2mps11: fix pctrlsel macro usage in s2mpg10_of_parse_cb()
authorAndré Draszik <andre.draszik@linaro.org>
Tue, 10 Feb 2026 17:23:51 +0000 (17:23 +0000)
committerMark Brown <broonie@kernel.org>
Mon, 16 Feb 2026 16:30:47 +0000 (16:30 +0000)
commit09ad01a530bb6ad260bda4fa56bab84619d90968
tree3e4078657ad5041b719b2bc80af00927fc8c3b7e
parent5a1256acaa856e6770d74dd786b1b12548969c28
regulator: s2mps11: fix pctrlsel macro usage in s2mpg10_of_parse_cb()

Commit 979dd8da76eb ("regulator: s2mps11: add S2MPG11 regulator")
incorrectly ended up using macros for S2MPG10 in the S2MPG11 case. They
happen to end up giving the same result, but for clarity, the correct
macros should be used.

No functional change.

Signed-off-by: André Draszik <andre.draszik@linaro.org>
Link: https://patch.msgid.link/20260210-s2mpg1x-regulators-fixes-v2-2-ab3d3457f1ae@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/s2mps11.c