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 <andriy.shevche...@linux.intel.com> > Reviewed-by: Laurent Pinchart <laurent.pinch...@ideasonboard.com> > Signed-off-by: Daniel Scally <djrsca...@gmail.com> > --- > Changes in v5: > > - None
Acked-by: Greg Kroah-Hartman <gre...@linuxfoundation.org>