ARM: Use of_get_cpu_hwid()
authorRob Herring <robh@kernel.org>
Wed, 6 Oct 2021 16:43:22 +0000 (11:43 -0500)
committerRob Herring <robh@kernel.org>
Wed, 20 Oct 2021 18:36:30 +0000 (13:36 -0500)
commitca96bbe2469ffefd475c89c4d22b72f6dddb4a5c
treed039481965a4ac355aaa2e5545e8264d7e74f5be
parent795e92ec5fd79027648bd7f779d34bad5b6f2f55
ARM: 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: Russell King <linux@armlinux.org.uk>
Signed-off-by: Rob Herring <robh@kernel.org>
Tested-by: Florian Fainelli <f.fainelli@gmail.com>
Link: https://lore.kernel.org/r/20211006164332.1981454-3-robh@kernel.org
arch/arm/kernel/devtree.c