arm64: Use of_get_cpu_hwid()
authorRob Herring <robh@kernel.org>
Wed, 6 Oct 2021 16:43:24 +0000 (11:43 -0500)
committerRob Herring <robh@kernel.org>
Wed, 20 Oct 2021 18:36:44 +0000 (13:36 -0500)
commit4d97b9290ed33db59620e287c3aa1ce36ba593aa
tree4980a9e1394e2a10d320cec03e1596f98752472f
parenteb11b5a9562ed450c63d2396c571c5375129cb3f
arm64: Use of_get_cpu_hwid()

Replace the open coded parsing of CPU nodes' 'reg' property with
of_get_cpu_hwid().

This change drops an error message for missing 'reg' property, but that
should not be necessary as the DT tools will ensure 'reg' is present.

Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Will Deacon <will@kernel.org>
Signed-off-by: Rob Herring <robh@kernel.org>
Tested-by: Florian Fainelli <f.fainelli@gmail.com>
Acked-by: Will Deacon <will@kernel.org>
Reviewed-by: Sudeep Holla <sudeep.holla@arm.com>
Link: https://lore.kernel.org/r/20211006164332.1981454-5-robh@kernel.org
arch/arm64/kernel/smp.c