On Thu, Jan 07, 2021 at 01:28:28PM +0000, Daniel Scally wrote: > Registering software_nodes with the .parent member set to point to a > currently unregistered software_node has the potential for problems, > so enforce parent -> child ordering in arrays passed in to > software_node_register_nodes(). > > Software nodes that are children of another software node should be > unregistered before their parent. To allow easy unregistering of an array > of software_nodes ordered parent to child, reverse the order in which > software_node_unregister_nodes() unregisters software_nodes. > > Suggested-by: Andy Shevchenko <[email protected]> > Reviewed-by: Laurent Pinchart <[email protected]> > Signed-off-by: Daniel Scally <[email protected]> > --- > Changes in v5: > > - None
Acked-by: Greg Kroah-Hartman <[email protected]>

