]> 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)
commit22f62d0b6303106f94ddf35f28c678da087f25fc
tree09e930f93e7098cab7424115fcb6502a3d9606ea
parent00cd227e0fbbdb2714bedcc1a85e95e7aced1a8f
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