summaryrefslogtreecommitdiff
path: root/scripts/patch-kernel
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2023-10-12 20:34:50 +0200
committerJoão Paulo Gonçalves <joao.goncalves@toradex.com>2025-06-12 16:13:11 -0300
commit2d35fc3504eed49fbb14a21adfbe78b854ce04d1 (patch)
tree267399924abc92c99e18ea5d55645a93dae3e70f /scripts/patch-kernel
parentf620819ae22124e2da4c08176f0b1ef6892003e4 (diff)
thermal: core: Pass trip pointer to governor throttle callback
Modify the governor .throttle() callback definition so that it takes a trip pointer instead of a trip index as its second argument, adjust the governors accordingly and update the core code invoking .throttle(). This causes the governors to become independent of the representation of the list of trips in the thermal zone structure. This change is not expected to alter the general functionality. Upstream-Status: Backport [8c35b1f472533b0df1b8f1f1afcaf4395cdb2256] Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Reviewed-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions