diff options
author | Rafael J. Wysocki <[email protected]> | 2023-03-17 17:54:34 +0100 |
---|---|---|
committer | Rafael J. Wysocki <[email protected]> | 2023-03-22 15:20:38 +0100 |
commit | c43198af05cffa5de8d4f356c40ce4bdca066272 (patch) | |
tree | a9d7fcab9437c04c940e698d7f11d13de5244597 /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | c0e0421a60bf468e88cf569fbd727346b138ed04 (diff) |
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 <[email protected]>
Tested-by: Zhang Rui <[email protected]>
Reviewed-by: Zhang Rui <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions