Greg Kroah-Hartman ed9f918174 driver core: bus: move bus notifier logic into bus.c
The logic to touch the bus notifier was open-coded in numberous places
in the driver core.  Clean that up by creating a local bus_notify()
function and have everyone call this function instead, making the
reading of the caller code simpler and easier to maintain over time.

Reviewed-by: Rafael J. Wysocki <rafael@kernel.org>
Link: https://lore.kernel.org/r/20230111092331.3946745-2-gregkh@linuxfoundation.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-01-18 09:00:48 +01:00
..
2022-12-19 12:33:32 -06:00
2021-07-21 11:53:42 +02:00
2021-12-30 13:54:42 +01:00
2023-01-17 19:04:26 +01:00
2021-06-15 17:14:36 +02:00
2021-06-15 17:14:36 +02:00