Files
linux/include/linux
Greg Kroah-Hartman 8c99377e61 driver core: bus: add bus_get_dev_root() function
Instead of poking around in the struct bus_type directly for the
dev_root pointer, provide a function to return it properly reference
counted, if it is present in the bus.  This will be needed to move the
pointer out of struct bus_type in the future.

Use the function in the driver core code at the same time it is
introduced to verify that it works properly.

Cc: "Rafael J. Wysocki" <rafael@kernel.org>
Link: https://lore.kernel.org/r/20230209093556.19132-1-gregkh@linuxfoundation.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-02-10 10:16:42 +01:00
..
2022-10-27 13:23:43 +02:00
2022-11-04 12:59:25 +02:00
2023-01-04 14:43:27 -07:00
2022-12-07 09:43:12 -07:00
2022-12-02 18:12:40 +08:00
2022-11-18 09:14:10 +01:00
2022-12-11 18:12:17 -08:00
2022-10-20 10:13:30 +02:00
2022-10-24 12:30:26 +03:00
2022-11-11 18:18:05 -08:00
2022-11-29 09:09:17 +11:00
2022-11-15 00:42:02 -08:00
2022-12-11 19:30:20 -08:00
2022-11-09 19:28:49 -08:00
2023-01-04 14:44:13 -07:00
2022-10-20 10:13:30 +02:00
2022-12-20 03:13:45 +01:00
2022-10-23 18:06:54 -04:00
2022-10-21 10:11:00 -07:00
2022-12-09 19:47:41 -08:00
2022-11-29 15:00:06 -08:00
2022-12-11 18:12:19 -08:00
2022-12-10 13:36:05 -05:00
2022-10-24 12:12:32 -07:00