[PATCH] powerpc: add of_find_next_property and of_get_aliased_index

Josh Boyer jwboyer at gmail.com
Thu Jun 26 09:51:49 EST 2008


On Wed, 2008-06-25 at 15:05 -0500, Timur Tabi wrote:
> +/**
> + * Return the first or next property within a node.
> + * @np: the node
> + * @prev: if NULL, return 1st prop, otherwise return the prop after 'prev'
> + *
> + * This function is used to get a list of properties within a node.  It's
> + * also useful for when you don't know the name of the propety you want to
> + * find.

How is this useful when you don't know the name of the property you want
to find?  I don't understand that at all.

I'm not really sure what good having a list of the properties within a
node is either, outside of using it for debugging.

josh




More information about the Linuxppc-dev mailing list