From 5abe1a590becc8f536e0b434f7d3f13e199d4567 Mon Sep 17 00:00:00 2001 From: Keith Short Date: Wed, 24 Aug 2022 15:13:58 -0600 Subject: zephyr: remove label usage from lis2dw12 emulator Remove all devicetree label usage from the lis2dw12 emulator. BUG=b:239165779 BRANCH=none TEST=./twister --clobber Signed-off-by: Keith Short Change-Id: Ice425e988f1d39e1eb3293c1ac1e9ff97de174d6 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3855426 Code-Coverage: Zoss Reviewed-by: Jeremy Bettis --- zephyr/emul/emul_lis2dw12.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'zephyr/emul') diff --git a/zephyr/emul/emul_lis2dw12.c b/zephyr/emul/emul_lis2dw12.c index 0a3ef0c353..8fbdd18afc 100644 --- a/zephyr/emul/emul_lis2dw12.c +++ b/zephyr/emul/emul_lis2dw12.c @@ -287,7 +287,7 @@ void lis2dw12_emul_clear_accel_reading(const struct emul *emul) }; \ static const struct lis2dw12_emul_cfg lis2dw12_emul_cfg_##n = { \ .common = { \ - .dev_label = DT_INST_LABEL(n), \ + .dev_label = DT_NODE_FULL_NAME(DT_DRV_INST(n)), \ .addr = DT_INST_REG_ADDR(n), \ }, \ }; \ -- cgit v1.2.1