aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/linux/usb/serial.h
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-03-13 19:29:09 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-03-23 13:21:24 +0100
commit38370c4e25af7f5670787a1bb1861b289f2ad770 (patch)
treeb68c7867a78e64877388f4f3ba3ad03c1623155a /include/linux/usb/serial.h
parentdriver core: bus: constify driver_find() (diff)
downloadwireguard-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