Messages in this thread | | | Date | Thu, 30 May 2019 16:33:56 +0530 | From | Viresh Kumar <> | Subject | Re: [PATCH v5 2/3] thermal: cpu_cooling: Make the power-related code depend on IPA |
| |
On 30-05-19, 10:20, Quentin Perret wrote: > The core CPU cooling infrastructure has power-related functions > that have only one client: IPA. Since there can be no user of those > functions if IPA is not compiled in, make sure to guard them with > checks on CONFIG_THERMAL_GOV_POWER_ALLOCATOR to not waste space > unnecessarily. > > Suggested-by: Daniel Lezcano <daniel.lezcano@linaro.org> > Signed-off-by: Quentin Perret <quentin.perret@arm.com> > --- > drivers/thermal/cpu_cooling.c | 214 +++++++++++++++++----------------- > 1 file changed, 104 insertions(+), 110 deletions(-)
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
-- viresh
| |