aboutsummaryrefslogtreecommitdiff
path: root/drivers/base/firmware_loader/firmware.h
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <[email protected]>2020-05-24 17:30:40 +0200
committerGreg Kroah-Hartman <[email protected]>2020-05-27 00:13:32 +0200
commit46d26819a5056f4831649c5887ad5c71a16d86f7 (patch)
tree88ea2dbf5075e46fae0d8d5c2f775228896d4f51 /drivers/base/firmware_loader/firmware.h
parent0e5596c54aa2fbfd22842096d3ebb6753b2a220a (diff)
software node: implement software_node_unregister()
Sometimes it is better to unregister individual nodes instead of trying to do them all at once with software_node_unregister_nodes(), so create software_node_unregister() so that you can unregister them one at a time. This is especially important when creating nodes in a hierarchy, with parent -> children representations. Children always need to be removed before a parent is, as the swnode logic assumes this is going to be the case. Fix up the lib/test_printf.c fwnode_pointer() test which to use this new function as it had the problem of tearing things down in the backwards order. Fixes: f1ce39df508d ("lib/test_printf: Add tests for %pfw printk modifier") Cc: stable <[email protected]> Cc: Andy Shevchenko <[email protected]> Cc: Brendan Higgins <[email protected]> Cc: Dmitry Torokhov <[email protected]> Cc: Petr Mladek <[email protected]> Cc: Rafael J. Wysocki <[email protected]> Cc: Rasmus Villemoes <[email protected]> Cc: Sakari Ailus <[email protected]> Cc: Sergey Senozhatsky <[email protected]> Cc: Steven Rostedt <[email protected]> Reported-by: Naresh Kamboju <[email protected]> Reported-by: kernel test robot <[email protected]> Reported-by: Randy Dunlap <[email protected]> Tested-by: Petr Mladek <[email protected]> Tested-by: Randy Dunlap <[email protected]> Tested-by: Guenter Roeck <[email protected]> Reviewed-by: Heikki Krogerus <[email protected]> Acked-by: Randy Dunlap <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/base/firmware_loader/firmware.h')
0 files changed, 0 insertions, 0 deletions