diff options
| author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2023-03-17 19:54:34 +0300 |
|---|---|---|
| committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2023-03-22 17:20:38 +0300 |
| commit | c43198af05cffa5de8d4f356c40ce4bdca066272 (patch) | |
| tree | a9d7fcab9437c04c940e698d7f11d13de5244597 /lib/mpi/mpiutil.c | |
| parent | c0e0421a60bf468e88cf569fbd727346b138ed04 (diff) | |
| download | linux-c43198af05cffa5de8d4f356c40ce4bdca066272.tar.xz | |
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 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions
