powerpc/numa: Look up device node in of_get_assoc_arrays()
authorNathan Fontenot <nfont@linux.vnet.ibm.com>
Fri, 1 Dec 2017 16:46:35 +0000 (10:46 -0600)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 16 Jan 2018 07:23:47 +0000 (18:23 +1100)
commit35f80debaef07bdaeffbbb20a6e999d8ac47972c
tree6168c5ca92910615ed270a44fc3794968fc76e60
parent6ed361586b323e576fd5536078fe9f2ee7906e61
powerpc/numa: Look up device node in of_get_assoc_arrays()

Look up the device node for the associativity array property instead
of having it passed in as a parameter. This changes precedes an update
in which the calling routines for of_get_assoc_arrays() will not have
the device node pointer to pass in.

Signed-off-by: Nathan Fontenot <nfont@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/mm/numa.c