Re: [PATCH v3 14/14] thermal: core: Clean up trip bind/unbind functions

From: lihuisong (C)
Date: Wed Aug 21 2024 - 07:03:21 EST



在 2024/8/20 0:33, Rafael J. Wysocki 写道:
From: Rafael J. Wysocki <rafael.j.wysocki@xxxxxxxxx>

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 <rafael.j.wysocki@xxxxxxxxx>
---

Acked-by: Huisong Li <lihuisong@xxxxxxxxxx>




.