diff options
| author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2024-10-11 00:13:50 +0200 |
|---|---|---|
| committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2024-10-23 11:56:57 +0200 |
| commit | 6d153f52cc3452258415db6a202cc6d15daa3920 (patch) | |
| tree | dd3e570e0fe2922d548bb30ab83c0377f2e73ce1 /drivers/fpga/fpga-bridge.c | |
| parent | 33eab804d695dc2be1491890143a64ea4d99cd42 (diff) | |
thermal: core: Introduce thermal_instance_add()
To reduce the number of redundant result checks in
thermal_bind_cdev_to_trip() and make the code in it easier to
follow, move some of it to a new function called thermal_instance_add()
and make thermal_bind_cdev_to_trip() invoke that function.
No intentional functional impact.
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Link: https://patch.msgid.link/3618899.iIbC2pHGDl@rjwysocki.net
Reviewed-by: Lukasz Luba <lukasz.luba@arm.com>
Diffstat (limited to 'drivers/fpga/fpga-bridge.c')
0 files changed, 0 insertions, 0 deletions
