]> git.baikalelectronics.ru Git - kernel.git/commit
software nodes: Split software_node_notify()
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 12 Jul 2021 17:27:12 +0000 (19:27 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 16 Jul 2021 17:17:05 +0000 (19:17 +0200)
commitaa2c1c9382e8af58695267c664c50d944722921c
treec463bf865eab9d338b916f752ffb1ce29df4c272
parentba3e20a915f80dea2ecfe0d684cc703d03ac7eb9
software nodes: Split software_node_notify()

Split software_node_notify_remove) out of software_node_notify()
and make device_platform_notify() call the latter on device addition
and the former on device removal.

While at it, put the headers of the above functions into base.h,
because they don't need to be present in a global header file.

No intentional functional impact.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
drivers/base/base.h
drivers/base/core.c
drivers/base/swnode.c
include/linux/property.h