ARM: bcm: Use of_address_to_resource()
authorRob Herring <robh@kernel.org>
Sun, 19 Mar 2023 16:31:25 +0000 (11:31 -0500)
committerFlorian Fainelli <f.fainelli@gmail.com>
Fri, 24 Mar 2023 21:08:43 +0000 (14:08 -0700)
commit3c01b05407bfeb42c4db0f7cc079437228ab0ab2
treec0a81c440ee9bd5aac167916b6fba6c08cd931db
parentfe15c26ee26efa11741a7b632e9f23b01aca4cc6
ARM: bcm: Use of_address_to_resource()

Replace open coded parsing of "reg" with of_address_to_resource().

Signed-off-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20230319163125.224833-1-robh@kernel.org
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
arch/arm/mach-bcm/bcm_kona_smc.c