software node: Introduce software_node_alloc()/software_node_free()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 29 Mar 2021 15:12:03 +0000 (18:12 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 5 Apr 2021 11:18:22 +0000 (13:18 +0200)
commit06ad93c328dcebdc13df5ec6dc8a5142f4a3f1da
tree856bf8a15bafd383c8d3568947124a39f8667c2b
parent3f6b6536a73fad0c2c82db1672fc500cc15ff551
software node: Introduce software_node_alloc()/software_node_free()

Introduce software_node_alloc() and software_node_free() helpers.
This will help with code readability and maintenance.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20210329151207.36619-2-andriy.shevchenko@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/base/swnode.c