]> git.baikalelectronics.ru Git - kernel.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)
commit75906f2cda938a78f790c0c951d7bb1cad382ee3
tree09e930f93e7098cab7424115fcb6502a3d9606ea
parent93d3ad73f93cf75a3402c27f73ab6b69b7642778
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