]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
regulator: s5m8767: Use scoped device node handling to simplify error paths
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Wed, 14 Aug 2024 15:04:08 +0000 (17:04 +0200)
committerMark Brown <broonie@kernel.org>
Wed, 14 Aug 2024 17:21:45 +0000 (18:21 +0100)
commit34a3f95941e0dfee750f2fd28faed4c8cd7ee42c
tree4d62c7c5378b4e46e25036e984cd030c07dc02f9
parentea13bd391d1b8f62ae2347bde7a174059d7f3f0d
regulator: s5m8767: Use scoped device node handling to simplify error paths

Obtain the device node reference with scoped/cleanup.h to reduce error
handling and make the code a bit simpler.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://patch.msgid.link/20240814-cleanup-h-of-node-put-regulator-v1-4-87151088b883@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/s5m8767.c