diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2024-10-11 01:13:50 +0300 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2024-10-23 12:56:57 +0300 |
commit | 6d153f52cc3452258415db6a202cc6d15daa3920 (patch) | |
tree | dd3e570e0fe2922d548bb30ab83c0377f2e73ce1 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 33eab804d695dc2be1491890143a64ea4d99cd42 (diff) | |
download | linux-6d153f52cc3452258415db6a202cc6d15daa3920.tar.xz |
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 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions