cpufreq: vexpress-spc: use macros instead of hardcoded values for cluster ids
authorSudeep Holla <sudeep.holla@arm.com>
Wed, 23 Oct 2019 11:08:10 +0000 (12:08 +0100)
committerViresh Kumar <viresh.kumar@linaro.org>
Thu, 24 Oct 2019 03:07:17 +0000 (08:37 +0530)
commit4a6e135238798144ca8a2eab65018521c66240da
tree44bdcbe088bfcb6bc4d21bf3161231eb3a20ccc4
parente458eb97df7aa0865066efc9fb70bbdfab319b59
cpufreq: vexpress-spc: use macros instead of hardcoded values for cluster ids

A15 and A7 cluster identifiers are fixed to 0 and 1 respectively. There are
macros for the same and used in most of the places except this instance.

Lets use macros instead of hardcoded values for cluster ids even here.

Cc: Viresh Kumar <viresh.kumar@linaro.org>
Cc: "Rafael J. Wysocki" <rjw@rjwysocki.net>
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
drivers/cpufreq/vexpress-spc-cpufreq.c