]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
regulator: s2mps11: place constants on right side of comparison tests
authorAndré Draszik <andre.draszik@linaro.org>
Thu, 22 Jan 2026 15:43:40 +0000 (15:43 +0000)
committerMark Brown <broonie@kernel.org>
Wed, 4 Feb 2026 13:35:34 +0000 (13:35 +0000)
commit223cefd021fa6ef5687159836871907aa3084fe2
tree583fe9dba0a45d537fab36ec716dc967b76d7e7d
parent6430d65d7b74712e9ff60e270687d66265dad6f2
regulator: s2mps11: place constants on right side of comparison tests

For the lines being changed, checkpatch reports:

    WARNING: Comparisons should place the constant on the right side of the test

Update the code accordingly.

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