1
0
mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git synced 2026-01-19 04:44:09 +00:00
Greg Kroah-Hartman 0396f2863f driver core: bus: convert bus_create/remove_file to be constant
bus_create_file() and bus_remove_file() can be made to take a constant
bus pointer, as it should not be modifying anything in the bus
structure.  Make this change and move the functions to use the internal
subsys_get/put() logic as well, to prevent the use of the back-pointer
in struct bus_type.

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