diff options
Diffstat (limited to 'include/usb_pd_tcpm.h')
-rw-r--r-- | include/usb_pd_tcpm.h | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/include/usb_pd_tcpm.h b/include/usb_pd_tcpm.h index 39eab7e63b..35f9cccb47 100644 --- a/include/usb_pd_tcpm.h +++ b/include/usb_pd_tcpm.h @@ -319,24 +319,6 @@ struct tcpm_drv { void (*tcpc_enable_auto_discharge_disconnect)(int port, int enable); -#ifndef CONFIG_ZORK_AUTO_DISCHARGE - /** - * Set new connection - * There is a new connection. May have to handle differently - * if we were performing auto-toggle. Allow a driver to do - * any work required to leave the unattached auto-toggle mode - * as well as setting the CC lines. If auto-toggle is not - * being used or was not the cause of the new connection - * detection then set both CC lines to the passed pull. - * - * @param port Type-C port number - * @param pull enum tcpc_cc_pull of CC lines - * - * @return EC_SUCCESS or error - */ - int (*set_new_connection)(int port, - enum tcpc_cc_pull pull); -#else /** * Set connection * If this is a disconnect, set the ROLE_CONTROL, otherwise @@ -356,7 +338,6 @@ struct tcpm_drv { int (*set_connection)(int port, enum tcpc_cc_pull pull, int connect); -#endif #ifdef CONFIG_USB_PD_DUAL_ROLE_AUTO_TOGGLE /** |