Re: [PATCH] powerpc: add of_find_next_property and of_get_aliased_index
From: Josh Boyer <hidden>
Date: 2008-06-25 23:51:56
From: Josh Boyer <hidden>
Date: 2008-06-25 23:51:56
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