diff options
author | Heikki Krogerus <heikki.krogerus@linux.intel.com> | 2020-03-02 16:53:48 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-03-04 11:12:49 +0100 |
commit | 69af044a7700552512a147e2ce3520741b65df41 (patch) | |
tree | a222fb34a044549a2176b74ae8c3bb8ecd5d1438 /drivers/usb/roles/intel-xhci-usb-role-switch.c | |
parent | d1c6a769cdf466053ae211789f2b0671c8a72331 (diff) | |
download | lwn-69af044a7700552512a147e2ce3520741b65df41.tar.gz lwn-69af044a7700552512a147e2ce3520741b65df41.zip |
usb: roles: Leave the private driver data pointer to the drivers
Adding usb_role_switch_get/set_drvdata() functions that the
switch drivers can use for setting and getting private data
pointer that is associated with the switch.
Signed-off-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Link: https://lore.kernel.org/r/20200302135353.56659-5-heikki.krogerus@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/roles/intel-xhci-usb-role-switch.c')
0 files changed, 0 insertions, 0 deletions