]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite3aa0ebb31130d175d148e2f7700ba10423f8349
treed039481965a4ac355aaa2e5545e8264d7e74f5be
parent4085603bfeb7d442b1f544c9d90898a8cc162184
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