openrisc: Use common of_get_cpu_node() instead of open-coding

The common of_get_cpu_node() is equivalent to setup_find_cpu_node(), so
use it instead.

Signed-off-by: Rob Herring <robh@kernel.org>
Signed-off-by: Stafford Horne <shorne@gmail.com>
This commit is contained in:
Rob Herring 2023-03-27 13:28:16 -05:00 • committed by Stafford Horne
commit 1aff44abf6