summaryrefslogtreecommitdiff
path: root/include/usb_tc_sm.h
diff options
context:
space:
mode:
authorVijay Hiremath <vijay.p.hiremath@intel.com>2020-02-12 12:25:34 -0800
committerCommit Bot <commit-bot@chromium.org>2020-02-24 20:48:57 +0000
commit5f505564df053199fd93b6b29247d6510ac38321 (patch)
treeecd383dbf0d84260bbd4be8c096ff1c608e5c2d8 /include/usb_tc_sm.h
parentc06e040dcd91b0da76e2a82d41a034b5954c763c (diff)
downloadchrome-ec-5f505564df053199fd93b6b29247d6510ac38321.tar.gz
TCPMv1/v2: Move pd_set_polarity() to common file
BUG=b:148528713 BRANCH=none TEST=make buildall -j Change-Id: Idf6908bfc3e79a960a7de6e4249c2f50b41b56e6 Signed-off-by: Vijay Hiremath <vijay.p.hiremath@intel.com> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2052645 Reviewed-by: Diana Z <dzigterman@chromium.org>
Diffstat (limited to 'include/usb_tc_sm.h')
-rw-r--r--include/usb_tc_sm.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/include/usb_tc_sm.h b/include/usb_tc_sm.h
index c797318b91..c3bb080d78 100644
--- a/include/usb_tc_sm.h
+++ b/include/usb_tc_sm.h
@@ -282,14 +282,6 @@ enum tcpc_cc_polarity get_snk_polarity(enum tcpc_cc_voltage_status cc1,
int tc_restart_tcpc(int port);
/**
- * Sets the polarity of the port
- *
- * @param port USB-C port number
- * @param polarity 0 for CC1, else 1 for CC2
- */
-void set_polarity(int port, int polarity);
-
-/**
* Called by the state machine framework to initialize the
* TypeC state machine
*