commit | 32a8121a19c4936672440c96371f6a8c2b0c3d4d | [log] [tgz] |
---|---|---|
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Feb 08 12:13:19 2023 +0100 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Thu Feb 09 10:43:24 2023 +0100 |
tree | d9e1e4e41a7c3b07545a3026fbb182989519dc13 | |
parent | beea7892d4339e50f15e5131d51a95503678fdf6 [diff] |
driver core: bus: bus_register/unregister_notifier() cleanups Convert the bus_register_notifier() and bus_unregister_notifier() public functions to use bus_to_subsys() and not use the back-pointer to the private structure as well as the bus_notify() function. Cc: "Rafael J. Wysocki" <rafael@kernel.org> Link: https://lore.kernel.org/r/20230208111330.439504-11-gregkh@linuxfoundation.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>