diff options
author | Greg Kroah-Hartman <[email protected]> | 2023-03-31 11:33:12 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2023-03-31 15:13:35 +0200 |
commit | 7d90e81a2d5edbd04037100bdd54d955bdd9b0d0 (patch) | |
tree | 893ca890f9b4dbe697809a6f31bfbddcadfe3fd4 /scripts/bpf_doc.py | |
parent | 6332a6ced62ac0c9ad7617be34aa2ee4543a52ab (diff) |
driver core: core: move to use class_to_subsys()
There are a number of places in core.c that need access to the private
subsystem structure of struct class, so move them to use
class_to_subsys() instead of accessing it directly.
This requires exporting class_to_subsys() out of class.c, but keeping it
local to the driver core.
Reviewed-by: 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/bpf_doc.py')
0 files changed, 0 insertions, 0 deletions