summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJohan Hovold <johan@kernel.org>2021-03-18 16:54:06 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-03-23 12:39:39 +0100
commitaaadc6aea6935e2f36c57056ff756fba0bbc4975 (patch)
treeab4c99a69426dcd99591debbcfb9ca10745653ea /include
parentUSB: core: drop outdated interface-binding comment (diff)
downloadlinux-aaadc6aea6935e2f36c57056ff756fba0bbc4975.tar.xz
linux-aaadc6aea6935e2f36c57056ff756fba0bbc4975.zip
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>
Diffstat (limited to 'include')
-rw-r--r--include/linux/usb.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/usb.h b/include/linux/usb.h
index 57c1e0ce5eba..b07e90d07ab6 100644
--- a/include/linux/usb.h
+++ b/include/linux/usb.h
@@ -841,7 +841,7 @@ extern int usb_free_streams(struct usb_interface *interface,
/* used these for multi-interface device registration */
extern int usb_driver_claim_interface(struct usb_driver *driver,
- struct usb_interface *iface, void *priv);
+ struct usb_interface *iface, void *data);
/**
* usb_interface_claimed - returns true iff an interface is claimed