diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2024-10-11 00:05:25 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2024-10-23 11:56:19 +0200 |
commit | cba00d16a2b0b0cfc8266124266ed23ab9eae918 (patch) | |
tree | 7e6252c801a6599c4f92b4b4775015d5e3e72ef4 /.cocciconfig | |
parent | 17f76be51c52338d9632070cce2b181a7517f03d (diff) |
thermal: core: Add and use thermal zone guard
Add and use a guard for thermal zone locking.
This allows quite a few error code paths to be simplified among
other things and brings in a noticeable code size reduction for
a good measure.
No intentional functional impact.
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Link: https://patch.msgid.link/1930069.tdWV9SEqCh@rjwysocki.net
Reviewed-by: Lukasz Luba <lukasz.luba@arm.com>
Diffstat (limited to '.cocciconfig')
0 files changed, 0 insertions, 0 deletions