summaryrefslogtreecommitdiff
path: root/include/test_util.h
diff options
context:
space:
mode:
authorMary Ruthven <mruthven@chromium.org>2021-01-05 17:19:18 -0800
committerCommit Bot <commit-bot@chromium.org>2021-01-07 19:21:56 +0000
commit4ecdbc3b1e4ddd94bd488f148c87db87720de61c (patch)
tree1482fdc98756e7dc6a6e4c56dd532884ea091178 /include/test_util.h
parentd619e3e95b67728f1c6faff6eb39ac9101ca2328 (diff)
downloadchrome-ec-4ecdbc3b1e4ddd94bd488f148c87db87720de61c.tar.gz
coil: i2c slave_addr -> periph_addr
BUG=b:175244613 TEST=make buildall -j Change-Id: Ifb547770fd829e27437079bee809d07fff90a77a Signed-off-by: Mary Ruthven <mruthven@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2611760 Reviewed-by: Namyoon Woo <namyoon@chromium.org>
Diffstat (limited to 'include/test_util.h')
-rw-r--r--include/test_util.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/test_util.h b/include/test_util.h
index bfcd940cea..21ea21595b 100644
--- a/include/test_util.h
+++ b/include/test_util.h
@@ -283,20 +283,20 @@ struct test_i2c_write_dev {
* specified port and slave address returns error.
*
* @param port The port that the detached device is connected to
- * @param slave_addr The address of the detached device
+ * @param periph_addr The address of the detached device
* @return EC_SUCCESS if detached; EC_ERROR_OVERFLOW if too many devices are
* detached.
*/
-int test_detach_i2c(const int port, const uint16_t slave_addr_flags);
+int test_detach_i2c(const int port, const uint16_t periph_addr_flags);
/*
* Re-attach an I2C device.
*
* @param port The port that the detached device is connected to
- * @param slave_addr The address of the detached device
+ * @param periph_addr The address of the detached device
* @return EC_SUCCESS if re-attached; EC_ERROR_INVAL if the specified device
* is not a detached device.
*/
-int test_attach_i2c(const int port, const uint16_t slave_addr_flags);
+int test_attach_i2c(const int port, const uint16_t periph_addr_flags);
#endif /* __CROS_EC_TEST_UTIL_H */