diff options
author | Viresh Kumar <[email protected]> | 2023-01-18 14:08:25 +0530 |
---|---|---|
committer | Rafael J. Wysocki <[email protected]> | 2023-01-24 20:21:49 +0100 |
commit | e398421fd03cf70c8d6e1d69a0773ee2fc426b25 (patch) | |
tree | 93aaa9f9b40aeb2d6d10963bb7d1acfffde820ac /tools/testing/selftests/bpf/progs/test_autoload.c | |
parent | a2c81dc59d41e92362ab7d41d0c15471ea50637d (diff) |
thermal: core: Move cdev cleanup to thermal_release()
thermal_release() already frees cdev, let it do rest of the cleanup as
well in order to simplify the error paths in
__thermal_cooling_device_register().
Signed-off-by: Viresh Kumar <[email protected]>
Reviewed-by: Yang Yingliang <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_autoload.c')
0 files changed, 0 insertions, 0 deletions