diff options
author | Jack Rosenthal <jrosenth@chromium.org> | 2022-06-27 15:13:52 -0600 |
---|---|---|
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2022-06-29 11:18:00 +0000 |
commit | 285df5930f4332ebeb182dfc8ab8c962bbfb0634 (patch) | |
tree | fa347857e01686cd8c7665cd202ffb4d0dcf76b1 /include/mock/tcpci_i2c_mock.h | |
parent | a3513991b88ea85265abea67b8ba0a6cc08d043a (diff) | |
download | chrome-ec-285df5930f4332ebeb182dfc8ab8c962bbfb0634.tar.gz |
include/mock/tcpci_i2c_mock.h: Format with clang-format
BUG=b:236386294
BRANCH=none
TEST=none
Change-Id: I09cdf5f2a23a472b4e1a50e7e4026e51c96516b3
Signed-off-by: Jack Rosenthal <jrosenth@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3730362
Reviewed-by: Jeremy Bettis <jbettis@chromium.org>
Diffstat (limited to 'include/mock/tcpci_i2c_mock.h')
-rw-r--r-- | include/mock/tcpci_i2c_mock.h | 20 |
1 files changed, 6 insertions, 14 deletions
diff --git a/include/mock/tcpci_i2c_mock.h b/include/mock/tcpci_i2c_mock.h index 1d4a986ebe..85f90c19b0 100644 --- a/include/mock/tcpci_i2c_mock.h +++ b/include/mock/tcpci_i2c_mock.h @@ -28,15 +28,11 @@ int verify_tcpci_tx_retry_count(enum tcpci_msg_type tx_type, int verify_tcpci_tx_timeout(enum tcpci_msg_type tx_type, enum pd_ctrl_msg_type ctrl_msg, - enum pd_data_msg_type data_msg, - int timeout); + enum pd_data_msg_type data_msg, int timeout); int verify_tcpci_tx_with_data(enum tcpci_msg_type tx_type, - enum pd_data_msg_type data_msg, - uint8_t *data, - int data_bytes, - int *msg_len, - int timeout); + enum pd_data_msg_type data_msg, uint8_t *data, + int data_bytes, int *msg_len, int timeout); struct possible_tx { enum tcpci_msg_type tx_type; @@ -44,13 +40,9 @@ struct possible_tx { enum pd_data_msg_type data_msg; }; -int verify_tcpci_possible_tx(struct possible_tx possible[], - int possible_cnt, - int *found_index, - uint8_t *data, - int data_bytes, - int *msg_len, - int timeout); +int verify_tcpci_possible_tx(struct possible_tx possible[], int possible_cnt, + int *found_index, uint8_t *data, int data_bytes, + int *msg_len, int timeout); void mock_tcpci_receive(enum tcpci_msg_type sop, uint16_t header, uint32_t *payload); |