diff options
author | 2023-03-13 19:29:09 +0100 | |
---|---|---|
committer | 2023-03-23 13:21:24 +0100 | |
commit | 38370c4e25af7f5670787a1bb1861b289f2ad770 (patch) | |
tree | b68c7867a78e64877388f4f3ba3ad03c1623155a /include/linux/usb/serial.h | |
parent | driver core: bus: constify driver_find() (diff) | |
download | wireguard-linux-38370c4e25af7f5670787a1bb1861b289f2ad770.tar.xz wireguard-linux-38370c4e25af7f5670787a1bb1861b289f2ad770.zip |
driver core: bus: constify bus_get()
It's funny to think about getting a reference count of a constant
structure pointer, but this locks into place the private data
"underneath" the struct bus_type() which is important to not go away
while we are working with the bus structure for some callbacks.
Cc: "Rafael J. Wysocki" <rafael@kernel.org>
Link: https://lore.kernel.org/r/20230313182918.1312597-27-gregkh@linuxfoundation.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/usb/serial.h')
0 files changed, 0 insertions, 0 deletions