diff options
author | Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> | 2024-08-14 17:04:07 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2024-08-14 18:21:44 +0100 |
commit | ea13bd391d1b8f62ae2347bde7a174059d7f3f0d (patch) | |
tree | 8eaa18e5ad3af5bfaa09b699366d9bed659e4852 /drivers/regulator/s5m8767.c | |
parent | f372c262d4cfe31f0b67e8ae1a8ec9bf7c52d57b (diff) |
regulator: max8997: 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-3-87151088b883@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/regulator/s5m8767.c')
0 files changed, 0 insertions, 0 deletions