Re: [PATCH v3 2/4] powercap: idle_inject: Add update callback

From: Daniel Lezcano
Date: Tue Jan 17 2023 - 06:14:31 EST


On 17/01/2023 03:07, Srinivas Pandruvada wrote:

[ ... ]

+struct idle_inject_device *idle_inject_register(struct cpumask *cpumask)
+{
+ return idle_inject_register_full(cpumask, NULL);
+}
EXPORT_SYMBOL_NS_GPL(idle_inject_register, IDLE_INJECT);

Why not just add the parameter to idle_inject_register() ?

There is only one user ATM


--
<http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs

Follow Linaro: <http://www.facebook.com/pages/Linaro> Facebook |
<http://twitter.com/#!/linaroorg> Twitter |
<http://www.linaro.org/linaro-blog/> Blog