diff options
author | Fabio Baltieri <fabiobaltieri@google.com> | 2022-08-05 16:14:02 +0100 |
---|---|---|
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2022-08-05 18:07:36 +0000 |
commit | a25b408f1a06dbc90bef3eaffaa5375140e04bd5 (patch) | |
tree | 8677c044adf771342527ef92b8aa77ec6a76d415 /zephyr/include | |
parent | 9667ef7a09af3ec080e7d2abf99744c5514ddcd4 (diff) | |
download | chrome-ec-a25b408f1a06dbc90bef3eaffaa5375140e04bd5.tar.gz |
zephyr: emul: drop i2c_label from emul configs
This is not used anywhere and is causing problem with downstreaming
since the label is being removed.
BRANCH=none
BUG=none
TEST=zmake testall
Cq-Depend: chromium:3813331
Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
Change-Id: I1b900670bde540a745648eb72e7801dec74272b3
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3811111
Reviewed-by: Jack Rosenthal <jrosenth@chromium.org>
Diffstat (limited to 'zephyr/include')
-rw-r--r-- | zephyr/include/emul/emul_common_i2c.h | 2 | ||||
-rw-r--r-- | zephyr/include/emul/tcpc/emul_tcpci.h | 1 |
2 files changed, 0 insertions, 3 deletions
diff --git a/zephyr/include/emul/emul_common_i2c.h b/zephyr/include/emul/emul_common_i2c.h index 7ab86ec868..6b4fd10b9f 100644 --- a/zephyr/include/emul/emul_common_i2c.h +++ b/zephyr/include/emul/emul_common_i2c.h @@ -214,8 +214,6 @@ typedef int (*i2c_common_emul_write_func)(const struct emul *target, int reg, /** Static configuration, common for all i2c emulators */ struct i2c_common_emul_cfg { - /** Label of the I2C bus this emulator connects to */ - const char *i2c_label; /** Label of the I2C device being emulated */ const char *dev_label; /** Pointer to run-time data */ diff --git a/zephyr/include/emul/tcpc/emul_tcpci.h b/zephyr/include/emul/tcpc/emul_tcpci.h index 6964fa84d7..323860040b 100644 --- a/zephyr/include/emul/tcpc/emul_tcpci.h +++ b/zephyr/include/emul/tcpc/emul_tcpci.h @@ -118,7 +118,6 @@ struct tcpc_emul_data { .tcpci_ctx = &tcpci_ctx##n, \ .chip_data = chip_data_ptr, \ .i2c_cfg = { \ - .i2c_label = DT_LABEL(DT_BUS(DT_DRV_INST(n))), \ .dev_label = DT_INST_LABEL(n), \ .data = &tcpci_ctx##n.common, \ .addr = DT_INST_REG_ADDR(n), \ |