summaryrefslogtreecommitdiff
path: root/zephyr/emul/emul_ln9310.c
diff options
context:
space:
mode:
authorKeith Short <keithshort@chromium.org>2022-08-24 15:13:58 -0600
committerChromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com>2022-08-26 20:17:29 +0000
commit6ba9883101af2d3ed37ec39edd5c355c706e9be1 (patch)
tree9a9372d4ec2d02ff6513d2a085d3d02cb6bd51b7 /zephyr/emul/emul_ln9310.c
parentbf3745a1f4cb438152694c969e8e5d2e267b380e (diff)
downloadchrome-ec-6ba9883101af2d3ed37ec39edd5c355c706e9be1.tar.gz
zephyr: Remove label usage from ln9310 emulator
Remove all devcietree label references from the ln9310 emulator. BUG=b:239165779 BRANCH=none TEST=./twister --clobber Signed-off-by: Keith Short <keithshort@chromium.org> Change-Id: Id56fe974d4f18b32fcd47f9e0a2c4b69412fb827 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3855420 Reviewed-by: Yuval Peress <peress@google.com> Code-Coverage: Zoss <zoss-cl-coverage@prod.google.com>
Diffstat (limited to 'zephyr/emul/emul_ln9310.c')
-rw-r--r--zephyr/emul/emul_ln9310.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/zephyr/emul/emul_ln9310.c b/zephyr/emul/emul_ln9310.c
index 2218c03012..f6ffbf2b33 100644
--- a/zephyr/emul/emul_ln9310.c
+++ b/zephyr/emul/emul_ln9310.c
@@ -500,7 +500,7 @@ static int emul_ln9310_init(const struct emul *emul,
.gpio_int_pin = LN9310_GET_GPIO_INT_PIN(n), \
}; \
static const struct i2c_common_emul_cfg ln9310_emul_cfg_##n = { \
- .dev_label = DT_INST_LABEL(n), \
+ .dev_label = DT_NODE_FULL_NAME(DT_DRV_INST(n)), \
.addr = DT_INST_REG_ADDR(n), \
}; \
EMUL_DT_INST_DEFINE(n, emul_ln9310_init, &ln9310_emul_data_##n, \