]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
USB: core: rename usb_driver_claim_interface() data parameter
authorJohan Hovold <johan@kernel.org>
Thu, 18 Mar 2021 15:54:06 +0000 (16:54 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 23 Mar 2021 11:39:39 +0000 (12:39 +0100)
commitaaadc6aea6935e2f36c57056ff756fba0bbc4975
treeab4c99a69426dcd99591debbcfb9ca10745653ea
parenta2a28c25c25a0d35517e16c37e2586de1879242c
USB: core: rename usb_driver_claim_interface() data parameter

It's been almost twenty years since the interface "private data" pointer
was removed in favour of using the driver-data pointer of struct device.

Let's rename the driver-data parameter of usb_driver_claim_interface()
so that it better reflects how it's used.

Signed-off-by: Johan Hovold <johan@kernel.org>
Link: https://lore.kernel.org/r/20210318155406.22399-2-johan@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/core/driver.c
include/linux/usb.h