summaryrefslogtreecommitdiff
path: root/zephyr/emul
diff options
context:
space:
mode:
authorFabio Baltieri <fabiobaltieri@google.com>2022-07-15 13:57:20 +0000
committerChromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com>2022-07-18 11:41:33 +0000
commit3f06eaf773f2c763390a06d64a6ce423795edeca (patch)
treeeb8991c067023ee362bf1e49b208156518abdcc2 /zephyr/emul
parent71cfa4bb71cd5f15ea9ef222d4f0c9022d0caa61 (diff)
downloadchrome-ec-3f06eaf773f2c763390a06d64a6ce423795edeca.tar.gz
zephyr: flash: drop the label property
Does not look like this was used anywhere. BRANCH=none BUG=b:239165779 TEST=zmake testall Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com> Change-Id: Ia196dbea753f8790fd4e52a3ee505815ebd3afd5 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3763910 Reviewed-by: Jack Rosenthal <jrosenth@chromium.org>
Diffstat (limited to 'zephyr/emul')
-rw-r--r--zephyr/emul/emul_flash.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/zephyr/emul/emul_flash.c b/zephyr/emul/emul_flash.c
index 0d1b691bca..e3c72c1c3d 100644
--- a/zephyr/emul/emul_flash.c
+++ b/zephyr/emul/emul_flash.c
@@ -17,8 +17,6 @@ LOG_MODULE_REGISTER(emul_flash);
struct flash_emul_data {};
struct flash_emul_cfg {
- /** Label of the device being emulated */
- const char *dev_label;
/** Pointer to run-time data */
struct flash_emul_data *data;
};
@@ -121,7 +119,6 @@ static int flash_emul_init(const struct device *dev)
static struct flash_emul_data flash_emul_data_##n = {}; \
\
static const struct flash_emul_cfg flash_emul_cfg_##n = { \
- .dev_label = DT_INST_LABEL(n), \
.data = &flash_emul_data_##n, \
}; \
DEVICE_DT_INST_DEFINE(n, flash_emul_init, NULL, &flash_emul_data_##n, \