diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-02-08 14:13:17 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-02-09 12:43:19 +0300 |
commit | adac0375380a7d3e50194cc5b03b676b0321bded (patch) | |
tree | 8e9f16d73da8bc3c00673bc025cb0697993f525f /drivers/base/core.c | |
parent | 3465e2e4a24eef9bc9f21aa29d83fd7000c1da48 (diff) | |
download | linux-adac0375380a7d3e50194cc5b03b676b0321bded.tar.xz |
driver core: bus: subsys_interface_register/unregister() cleanups
Convert the subsys_interface_register and subsys_interface_unregister()
functions to use bus_to_subsys() and not use the back-pointer to the
private structure.
This also requires changing the parameters on subsys_dev_iter_init() to
iterate over the list properly.
Cc: "Rafael J. Wysocki" <rafael@kernel.org>
Link: https://lore.kernel.org/r/20230208111330.439504-9-gregkh@linuxfoundation.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/base/core.c')
0 files changed, 0 insertions, 0 deletions