summaryrefslogtreecommitdiff
path: root/driver
diff options
context:
space:
mode:
authorDiana Z <dzigterman@chromium.org>2021-01-21 22:49:46 -0700
committerCommit Bot <commit-bot@chromium.org>2021-01-27 21:30:37 +0000
commit0a142f8365840439ef08518004122209183bdb14 (patch)
tree479efaa9e9bd9a0026ce97d6429d2b62907ef84f /driver
parent131bfec0799e497860cc80674ab86dc19540787f (diff)
downloadchrome-ec-0a142f8365840439ef08518004122209183bdb14.tar.gz
COIL: Rename fusb302 driver variables
Rename i2c variables in the fusb302 driver and c-file references. BRANCH=None BUG=None TEST=make -j buildall Signed-off-by: Diana Z <dzigterman@chromium.org> Change-Id: Ifaf7984c52fc197403d447e00c02af036e54987e Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2649354 Reviewed-by: Daisuke Nojiri <dnojiri@chromium.org>
Diffstat (limited to 'driver')
-rw-r--r--driver/tcpm/fusb302.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/driver/tcpm/fusb302.h b/driver/tcpm/fusb302.h
index 8db9f86c20..717b28df18 100644
--- a/driver/tcpm/fusb302.h
+++ b/driver/tcpm/fusb302.h
@@ -14,15 +14,15 @@
#define FUSB302_DEVID_302A 0x08
#define FUSB302_DEVID_302B 0x09
-/* I2C slave address varies by part number */
+/* I2C address varies by part number */
/* FUSB302BUCX / FUSB302BMPX */
-#define FUSB302_I2C_SLAVE_ADDR_FLAGS 0x22
+#define FUSB302_I2C_ADDR_FLAGS 0x22
/* FUSB302B01MPX */
-#define FUSB302_I2C_SLAVE_ADDR_B01_FLAGS 0x23
+#define FUSB302_I2C_ADDR_B01_FLAGS 0x23
/* FUSB302B10MPX */
-#define FUSB302_I2C_SLAVE_ADDR_B10_FLAGS 0x24
+#define FUSB302_I2C_ADDR_B10_FLAGS 0x24
/* FUSB302B11MPX */
-#define FUSB302_I2C_SLAVE_ADDR_B11_FLAGS 0x25
+#define FUSB302_I2C_ADDR_B11_FLAGS 0x25
#define TCPC_REG_DEVICE_ID 0x01