On Mon, 27 Mar 2023 17:30:56 -0500, Rob Herring wrote:
> icp_native_init_one_node() only needs the number of entries in "reg".
> Replace the open coded "reg" parsing with of_address_count() to get the
> number of "reg" entries.
>
>
Applied to powerpc/next.
[1/1] powerpc: xics: Use
icp_native_init_one_node() only needs the number of entries in "reg".
Replace the open coded "reg" parsing with of_address_count() to get the
number of "reg" entries.
Signed-off-by: Rob Herring
---
arch/powerpc/sysdev/xics/icp-native.c | 17 +
1 file changed, 5 insertions(+), 12