diff options
| author | Rafael J. Wysocki <[email protected]> | 2024-08-21 15:26:28 +0000 |
|---|---|---|
| committer | Rafael J. Wysocki <[email protected]> | 2024-08-23 13:42:58 +0000 |
| commit | 18749317d12e12095c5b4cb1634c93a14585bfba (patch) | |
| tree | 2037c7fb9be413fe8276a40ecea0a8e80fbd0d0e /security/selinux/hooks.c | |
| parent | thermal: core: Drop unused bind/unbind functions and callbacks (diff) | |
| download | kernel-18749317d12e12095c5b4cb1634c93a14585bfba.tar.gz kernel-18749317d12e12095c5b4cb1634c93a14585bfba.zip | |
thermal: core: Clean up trip bind/unbind functions
Make thermal_bind_cdev_to_trip() take a struct cooling_spec pointer
to reduce the number of its arguments, change the return type of
thermal_unbind_cdev_from_trip() to void and rearrange the code in
thermal_zone_cdev_binding() to reduce the indentation level.
No intentional functional impact.
Signed-off-by: Rafael J. Wysocki <[email protected]>
Reviewed-by: Zhang Rui <[email protected]>
Acked-by: Huisong Li <[email protected]>
Reviewed-by: Daniel Lezcano <[email protected]>
Link: https://patch.msgid.link/[email protected]
[ rjw: Changed the name of a new function argument ]
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'security/selinux/hooks.c')
0 files changed, 0 insertions, 0 deletions
