Messages in this thread | | | Date | Fri, 31 Mar 2023 17:44:31 +0200 | From | Greg Kroah-Hartman <> | Subject | Re: [PATCH 1/7] driver core: core: move to use class_to_subsys() |
| |
On Fri, Mar 31, 2023 at 12:26:34PM +0200, Rafael J. Wysocki wrote: > On Fri, Mar 31, 2023 at 11:33 AM Greg Kroah-Hartman > <gregkh@linuxfoundation.org> wrote: > > > > 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. > > > > Cc: "Rafael J. Wysocki" <rafael@kernel.org> > > Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> > > Reviewed-by: Rafael J. Wysocki <rafael@kernel.org>
Thanks for the quick review!
| |