aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/tasks.py
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <[email protected]>2023-02-08 12:13:13 +0100
committerGreg Kroah-Hartman <[email protected]>2023-02-09 10:43:12 +0100
commit0396f2863f7af3c588033d270f7d979d11cd4708 (patch)
tree205ffa763fbf9ce03ac55073f9f194d1de4af184 /scripts/gdb/linux/tasks.py
parente0766ea4c8f8f94a605e291aa3672a703dc1d2e4 (diff)
driver core: bus: convert bus_create/remove_file to be constant
bus_create_file() and bus_remove_file() can be made to take a constant bus pointer, as it should not be modifying anything in the bus structure. Make this change and move the functions to use the internal subsys_get/put() logic as well, to prevent the use of the back-pointer in struct bus_type. 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