openrisc: Use common of_get_cpu_node() instead of open-coding
authorRob Herring <robh@kernel.org>
Mon, 27 Mar 2023 18:28:16 +0000 (13:28 -0500)
committerStafford Horne <shorne@gmail.com>
Sat, 1 Apr 2023 05:40:27 +0000 (06:40 +0100)
commit1aff44abf68a8000fcb3502fc2b704f20de4535f
treefb7c09c4c85c79bbaf83ba05fc6b3d55df5317ea
parent197b6b60ae7bc51dd0814953c562833143b292aa
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>
arch/openrisc/kernel/setup.c