cpufreq: powernow-k8: Use related_cpus instead of cpus in driver.exit()
authorLiao Chang <liaochang1@huawei.com>
Sat, 26 Aug 2023 09:51:13 +0000 (09:51 +0000)
committerViresh Kumar <viresh.kumar@linaro.org>
Mon, 28 Aug 2023 06:57:30 +0000 (12:27 +0530)
commit03997da042dac73c69e60d91942c727c76828b65
treeba6ccb563ef9a7f94c2a8b0585bd797d56d14423
parenta3aa97be69a7cc14ddc2bb0add0b9c51cb74bf83
cpufreq: powernow-k8: Use related_cpus instead of cpus in driver.exit()

Since the 'cpus' field of policy structure will become empty in the
cpufreq core API, it is better to use 'related_cpus' in the exit()
callback of driver.

Fixes: c3274763bfc3 ("cpufreq: powernow-k8: Initialize per-cpu data-structures properly")
Signed-off-by: Liao Chang <liaochang1@huawei.com>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
drivers/cpufreq/powernow-k8.c