clk: ti: Use of_address_to_resource()
authorRob Herring <robh@kernel.org>
Sun, 19 Mar 2023 16:32:17 +0000 (11:32 -0500)
committerStephen Boyd <sboyd@kernel.org>
Mon, 27 Mar 2023 16:38:48 +0000 (09:38 -0700)
commit81fe523af79f50e27647f6f18ed683e379a40d29
treebf369147899b55ef113858e2a6f6f249834c1649
parent5b1a1c1ab1f981b15bce778db863344f59bd1501
clk: ti: Use of_address_to_resource()

Replace of_get_address() and of_translate_address() calls with single
call to of_address_to_resource().

Signed-off-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20230319163217.226144-1-robh@kernel.org
Reviewed-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/ti/clkctrl.c