[RFC/PATCH 4/4] Add support for MSI on Axon-based Cell systems
Arnd Bergmann
arnd at arndb.de
Tue Jun 5 03:12:04 EST 2007
On Monday 04 June 2007, Michael Ellerman wrote:
> + for_each_compatible_node(node, NULL, "ibm,axon-msic") {
> + if (axon_msi_setup_one(of_node_get(node)) == 0)
> + found++;
> + }
> + of_node_put(node);
One more thing: AFAICS 'node' is guaranteed to be NULL when you get
out of the for_each_compatible_node loop, so you don't need the
of_node_put().
Arnd <><
More information about the Linuxppc-dev
mailing list