diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-02-08 12:13:22 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-02-09 10:43:30 +0100 |
commit | b5aaecb82ac0d008ddec8132979398b9b4e925fc (patch) | |
tree | 536e0fb42889537a85951e008c696e8d25eeefab /scripts/generate_rust_analyzer.py | |
parent | 83b9148df2c95e23d0fcf1f714dec88ce5a0468b (diff) | |
download | lwn-b5aaecb82ac0d008ddec8132979398b9b4e925fc.tar.gz lwn-b5aaecb82ac0d008ddec8132979398b9b4e925fc.zip |
driver core: bus: clean up bus_sort_breadthfirst()
Convert the bus_sort_breadthfirst() function to use bus_to_subsys() and
not use the back-pointer to the private structure.
This also allows us to get rid of bus_get_device_klist() which was only
being used by this one internal function.
Cc: "Rafael J. Wysocki" <rafael@kernel.org>
Link: https://lore.kernel.org/r/20230208111330.439504-14-gregkh@linuxfoundation.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions