diff options
author | Rafael J. Wysocki <[email protected]> | 2024-08-21 17:26:28 +0200 |
---|---|---|
committer | Rafael J. Wysocki <[email protected]> | 2024-08-23 15:42:58 +0200 |
commit | 18749317d12e12095c5b4cb1634c93a14585bfba (patch) | |
tree | 2037c7fb9be413fe8276a40ecea0a8e80fbd0d0e /lib/crypto/mpi/mpi-sub-ui.c | |
parent | c579286a514d88a3f0d3bdabfd4d88737b33cb17 (diff) |
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 'lib/crypto/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions