Searched hist:"345 a8af7" (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/drivers/thermal/ |
H A D | gov_power_allocator.c | 345a8af7 Thu Oct 15 06:24:41 CDT 2020 Lukasz Luba <lukasz.luba@arm.com> thermal: core: Move power_actor_set_power into IPA
Since the power actor section has one function power_actor_set_power() move it into Intelligent Power Allocation (IPA). There is no other user of that helper function. It would also allow to remove the check of cdev_is_power_actor() because the code which calls it in IPA already does the needed check. Make the function static since only IPA use it.
Signed-off-by: Lukasz Luba <lukasz.luba@arm.com> Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org> Link: https://lore.kernel.org/r/20201015112441.4056-5-lukasz.luba@arm.com
|
H A D | thermal_core.h | 345a8af7 Thu Oct 15 06:24:41 CDT 2020 Lukasz Luba <lukasz.luba@arm.com> thermal: core: Move power_actor_set_power into IPA
Since the power actor section has one function power_actor_set_power() move it into Intelligent Power Allocation (IPA). There is no other user of that helper function. It would also allow to remove the check of cdev_is_power_actor() because the code which calls it in IPA already does the needed check. Make the function static since only IPA use it.
Signed-off-by: Lukasz Luba <lukasz.luba@arm.com> Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org> Link: https://lore.kernel.org/r/20201015112441.4056-5-lukasz.luba@arm.com
|
H A D | thermal_core.c | 345a8af7 Thu Oct 15 06:24:41 CDT 2020 Lukasz Luba <lukasz.luba@arm.com> thermal: core: Move power_actor_set_power into IPA
Since the power actor section has one function power_actor_set_power() move it into Intelligent Power Allocation (IPA). There is no other user of that helper function. It would also allow to remove the check of cdev_is_power_actor() because the code which calls it in IPA already does the needed check. Make the function static since only IPA use it.
Signed-off-by: Lukasz Luba <lukasz.luba@arm.com> Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org> Link: https://lore.kernel.org/r/20201015112441.4056-5-lukasz.luba@arm.com
|