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

From: Viresh Kumar
Date: Thu Sep 21 2023 - 16:00:51 EST


On Fri, 25 Aug 2023 at 13:27, Ulf Hansson <ulf.hansson@xxxxxxxxxx> 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@xxxxxxxxxx>
> ---
>
> Changes in v3:
> - None.
>
> ---
> drivers/cpufreq/scmi-cpufreq.c | 11 ++++-------
> 1 file changed, 4 insertions(+), 7 deletions(-)

Acked-by: Viresh Kumar <viresh.kumar@xxxxxxxxxx>