Greg Kroah-Hartman 7d90e81a2d 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>
2023-03-31 15:13:35 +02:00
..
2023-01-22 12:56:55 +01:00
2023-03-23 13:21:24 +01:00
2023-02-24 12:58:55 -08:00
2021-07-21 11:53:42 +02:00
2021-06-15 17:14:36 +02:00
2021-06-15 17:14:36 +02:00