summaryrefslogtreecommitdiff
path: root/include/linux/usb
diff options
context:
space:
mode:
authorHeikki Krogerus <heikki.krogerus@linux.intel.com>2019-11-04 17:24:25 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-11-04 16:03:35 +0100
commit8c038ea8b65fc803cd35423b8a1ff7057dd52f8b (patch)
tree63fdc4530fbfa5a084fb4b379194cb962b3336b6 /include/linux/usb
parent642b1017dc4371bff291964186c1dfbb8f29ee25 (diff)
usb: typec: Remove the callback members from struct typec_capability
There are no more users for them. Signed-off-by: Heikki Krogerus <heikki.krogerus@linux.intel.com> Reviewed-by: Guenter Roeck <linux@roeck-us.net> Link: https://lore.kernel.org/r/20191104142435.29960-9-heikki.krogerus@linux.intel.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/usb')
-rw-r--r--include/linux/usb/typec.h17
1 files changed, 0 insertions, 17 deletions
diff --git a/include/linux/usb/typec.h b/include/linux/usb/typec.h
index c9bef128453b..894798084319 100644
--- a/include/linux/usb/typec.h
+++ b/include/linux/usb/typec.h
@@ -198,11 +198,6 @@ struct typec_operations {
* @fwnode: Optional fwnode of the port
* @driver_data: Private pointer for driver specific info
* @ops: Port operations vector
- * @try_role: Set data role preference for DRP port
- * @dr_set: Set Data Role
- * @pr_set: Set Power Role
- * @vconn_set: Set VCONN Role
- * @port_type_set: Set port type
*
* Static capabilities of a single USB Type-C port.
*/
@@ -220,18 +215,6 @@ struct typec_capability {
void *driver_data;
const struct typec_operations *ops;
-
- int (*try_role)(const struct typec_capability *,
- int role);
-
- int (*dr_set)(const struct typec_capability *,
- enum typec_data_role);
- int (*pr_set)(const struct typec_capability *,
- enum typec_role);
- int (*vconn_set)(const struct typec_capability *,
- enum typec_role);
- int (*port_type_set)(const struct typec_capability *,
- enum typec_port_type);
};
/* Specific to try_role(). Indicates the user want's to clear the preference. */