We can use of_get_next_parent() in two places in axon_msi.c to
simplify the looping logic.
Signed-off-by: Michael Ellerman [EMAIL PROTECTED]
---
arch/powerpc/platforms/cell/axon_msi.c |6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git
On Fri, 26 Oct 2007 16:54:41 +1000 (EST) Michael Ellerman [EMAIL PROTECTED]
wrote:
+++ b/arch/powerpc/platforms/cell/axon_msi.c
@@ -125,7 +125,7 @@ static struct axon_msic *find_msi_translator(struct
pci_dev *dev)
return NULL;
}
- for (; dn; tmp =