diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2024-10-14 16:59:46 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2024-10-24 14:48:23 +0200 |
commit | a5a98a786e5e31e85a69d30935254e8730734706 (patch) | |
tree | 6654682d011b2466324507b7b3fa1ae824ab44d2 /drivers/nfc | |
parent | thermal: core: Introduce thermal_cdev_update_nocheck() (diff) | |
download | linux-a5a98a786e5e31e85a69d30935254e8730734706.tar.xz linux-a5a98a786e5e31e85a69d30935254e8730734706.zip |
thermal: core: Add and use cooling device guard
Add and use a special guard for cooling devices.
This allows quite a few error code paths to be simplified among
other things and brings in 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/5837621.DvuYhMxLoT@rjwysocki.net
Reviewed-by: Lukasz Luba <lukasz.luba@arm.com>
Diffstat (limited to 'drivers/nfc')
0 files changed, 0 insertions, 0 deletions