MIPS: octeon: Use of_address_to_resource()
authorRob Herring <robh@kernel.org>
Sun, 19 Mar 2023 16:31:48 +0000 (11:31 -0500)
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>
Fri, 24 Mar 2023 13:01:39 +0000 (14:01 +0100)
commited6a0b6e9fd78e167d0488331d1695c6c84192be
treeff5fb3845af13f9803accf39c2a2ec515ab6607d
parentd703e5a6ffa73fba8e9023190c53d4458cc09a06
MIPS: octeon: 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>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
arch/mips/cavium-octeon/octeon-irq.c