diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-03-31 11:33:12 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-03-31 15:13:35 +0200 |
commit | 7d90e81a2d5edbd04037100bdd54d955bdd9b0d0 (patch) | |
tree | 893ca890f9b4dbe697809a6f31bfbddcadfe3fd4 /mm | |
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 <rafael@kernel.org>
Link: https://lore.kernel.org/r/20230331093318.82288-1-gregkh@linuxfoundation.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions