diff options
author | 2024-10-10 20:06:19 +0200 | |
---|---|---|
committer | 2024-11-26 13:28:43 +0100 | |
commit | 8309135a39de73af2b4bbaa8385e40ffccbfc42c (patch) | |
tree | b5a1f46fc32b5dfa2281a0aef71b632da6c3b0b0 /net/lapb/lapb_timer.c | |
parent | thermal: of: Use scoped memory and OF handling to simplify thermal_of_trips_init() (diff) | |
download | wireguard-linux-8309135a39de73af2b4bbaa8385e40ffccbfc42c.tar.xz wireguard-linux-8309135a39de73af2b4bbaa8385e40ffccbfc42c.zip |
thermal: of: Use scoped device node handling to simplify of_thermal_zone_find()
Obtain the device node reference with scoped/cleanup.h to reduce error
handling and make the code a bit simpler.
Reviewed-by: Chen-Yu Tsai <wenst@chromium.org>
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://patch.msgid.link/20241010-b4-cleanup-h-of-node-put-thermal-v4-3-bfbe29ad81f4@linaro.org
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions