thermal: gov_power_allocator: Use .manage() callback instead of .throttle()
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 10 Apr 2024 16:10:14 +0000 (18:10 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 23 Apr 2024 18:39:50 +0000 (20:39 +0200)
commit41ddbcc6fd2cd8ec3100fdea9044f3f377b6ec11
treea726138bb261aebb88dc12fe53c33f1c906faf6d
parent976f44133f76eb24becdf3336d832eb3c720b458
thermal: gov_power_allocator: Use .manage() callback instead of .throttle()

The Power Allocator governor really only wants to be called once per
thermal zone update and it does a special check to skip the extra,
from its perspective, invocations of the .throttle() callback.

Make it use .manage() instead of .throttle().

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Reviewed-by: Lukasz Luba <lukasz.luba@arm.com>
drivers/thermal/gov_power_allocator.c