diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2023-03-17 17:54:34 +0100 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2023-03-22 15:20:38 +0100 |
commit | c43198af05cffa5de8d4f356c40ce4bdca066272 (patch) | |
tree | a9d7fcab9437c04c940e698d7f11d13de5244597 /sound | |
parent | ACPI: processor: Reorder acpi_processor_driver_init() (diff) | |
download | linux-c43198af05cffa5de8d4f356c40ce4bdca066272.tar.xz linux-c43198af05cffa5de8d4f356c40ce4bdca066272.zip |
thermal: core: Introduce thermal_cooling_device_present()
Introduce a helper function, thermal_cooling_device_present(), for
checking if the given cooling device is in the list of registered
cooling devices to avoid some code duplication in a subsequent
patch.
No expected functional impact.
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Tested-by: Zhang Rui <rui.zhang@intel.com>
Reviewed-by: Zhang Rui <rui.zhang@intel.com>
Diffstat (limited to 'sound')
0 files changed, 0 insertions, 0 deletions