diff options
| author | Rafael J. Wysocki <[email protected]> | 2024-10-16 11:29:14 +0000 |
|---|---|---|
| committer | Rafael J. Wysocki <[email protected]> | 2024-10-24 15:15:07 +0000 |
| commit | 72fb849f77d94d8f60cbb2d7251ac26de8c9e090 (patch) | |
| tree | be6856eff3beca2c6abe0b237ba1f0d7ae95bbc1 /security/selinux/hooks.c | |
| parent | thermal: core: Pass trip descriptor to thermal_trip_crossed() (diff) | |
| download | kernel-72fb849f77d94d8f60cbb2d7251ac26de8c9e090.tar.gz kernel-72fb849f77d94d8f60cbb2d7251ac26de8c9e090.zip | |
thermal: core: Move some trip processing to thermal_trip_crossed()
Notice that some processing related to trip point crossing carried out
in handle_thermal_trip() and thermal_zone_set_trip_temp() may as well
be done in thermal_trip_crossed(), which allows code duplication to be
reduced, so change the code accordingly.
No intentional functional impact.
Signed-off-by: Rafael J. Wysocki <[email protected]>
Reviewed-by: Lukasz Luba <[email protected]>
Link: https://patch.msgid.link/[email protected]
Diffstat (limited to 'security/selinux/hooks.c')
0 files changed, 0 insertions, 0 deletions
