[PATCH v3 06/13] cpufreq: scmi: Avoid one OF parsing in scmi_get_sharing_cpus()

Viresh Kumar viresh.kumar at linaro.org
Thu Sep 21 07:29:44 PDT 2023


On Fri, 25 Aug 2023 at 13:27, Ulf Hansson <ulf.hansson at linaro.org> wrote:
>
> The domain-id for the cpu_dev has already been parsed at the point when
> scmi_get_sharing_cpus() is getting called. Let's pass it as an in-parameter
> to avoid the unnecessary OF parsing.
>
> Signed-off-by: Ulf Hansson <ulf.hansson at linaro.org>
> ---
>
> Changes in v3:
>         - None.
>
> ---
>  drivers/cpufreq/scmi-cpufreq.c | 11 ++++-------
>  1 file changed, 4 insertions(+), 7 deletions(-)

Acked-by: Viresh Kumar <viresh.kumar at linaro.org>



More information about the linux-arm-kernel mailing list