]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
powerpc/powernv: Simplify searching for compatible device nodes
authorJack Miller <jack@codezen.org>
Thu, 11 Aug 2016 00:32:40 +0000 (19:32 -0500)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 14 Nov 2016 09:05:57 +0000 (20:05 +1100)
commit9e4f51bdaf880208869aa001ee94a49de4b28d27
tree09e930f93e7098cab7424115fcb6502a3d9606ea
parent29a969b764817c1dce819c2bc8c00a147529a5ef
powerpc/powernv: Simplify searching for compatible device nodes

This condenses the opal node searching into a single function that finds
all compatible nodes, instead of just searching the ibm,opal children,
for ipmi, flash, and prd similar to how opal-i2c nodes are found.

Signed-off-by: Jack Miller <jack@codezen.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/platforms/powernv/opal.c