diff options
author | Greg Kroah-Hartman <[email protected]> | 2023-02-08 12:13:16 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2023-02-09 10:43:17 +0100 |
commit | 3465e2e4a24eef9bc9f21aa29d83fd7000c1da48 (patch) | |
tree | 2cfa3b23adc67e9539be2626db3e780f137a1de2 /scripts/gdb/linux/tasks.py | |
parent | 5221b82d46f26903cf3161fb7d1fc006170811e0 (diff) |
driver core: bus: bus_register/unregister() cleanups
Convert the bus_register() and bus_unregister() functions to use
bus_to_subsys() and not use the back-pointer to the private structure.
Because bus_add_groups() and bus_remove_groups() were only called in one
place, remove those one-line-wrapper functions and call the real sysfs
group function where it is needed instead, saving another layer of
indirection.
Cc: "Rafael J. Wysocki" <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions