bus: uniphier-system-bus: Remove open coded "ranges" parsing
authorRob Herring <robh@kernel.org>
Mon, 6 Feb 2023 19:45:04 +0000 (13:45 -0600)
committerRob Herring <robh@kernel.org>
Thu, 30 Mar 2023 18:37:21 +0000 (13:37 -0500)
commitc12cc1bc7d70f0efa46e5afad5775daef2f4cc81
tree7ab9a1806c9928c25efb354fb712ca805e3ce6a6
parentfe15c26ee26efa11741a7b632e9f23b01aca4cc6
bus: uniphier-system-bus: Remove open coded "ranges" parsing

"ranges" is a standard property and we have common helper functions for
parsing it, so let's use them.

Tested-by: Kunihiko Hayashi <hayashi.kunihiko@socionext.com>
Link: https://lore.kernel.org/r/20230206194503.1162108-1-robh@kernel.org
Signed-off-by: Rob Herring <robh@kernel.org>
drivers/bus/uniphier-system-bus.c