regulator: Use scoped device node handling to simplify

Merge series from Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>:

Make code a bit smaller/simpler, with less of_node_put() thanks to
cleanup.h.
This commit is contained in:
Mark Brown 2024-08-15 14:35:02 +01:00
commit 5a38089fe4
No known key found for this signature in database
GPG key ID: 24D68B725D5487D0
7 changed files with 32 additions and 62 deletions