driver core: Split device_platform_notify()
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 12 Jul 2021 17:28:16 +0000 (19:28 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 16 Jul 2021 17:17:05 +0000 (19:17 +0200)
commitb2ebd9dd52670a931e8f1bd77d70c57f9aa186a5
tree872fa69722ac97e5d06a4c49337f7fcf5a2f9b70
parent384f5a857baeba88cf013b36999a97b471e4bd9c
driver core: Split device_platform_notify()

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

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: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
drivers/base/core.c