diff options
author | Keith Short <keithshort@chromium.org> | 2022-08-24 15:13:58 -0600 |
---|---|---|
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2022-08-26 20:18:11 +0000 |
commit | 5abe1a590becc8f536e0b434f7d3f13e199d4567 (patch) | |
tree | e8ae4808aa8af73ebe1862ba8563fcec4323d9ae /zephyr/emul | |
parent | 9d613d092dde41dffaa3d373f40d672074c21fee (diff) | |
download | chrome-ec-5abe1a590becc8f536e0b434f7d3f13e199d4567.tar.gz |
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 <keithshort@chromium.org>
Change-Id: Ice425e988f1d39e1eb3293c1ac1e9ff97de174d6
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3855426
Code-Coverage: Zoss <zoss-cl-coverage@prod.google.com>
Reviewed-by: Jeremy Bettis <jbettis@chromium.org>
Diffstat (limited to 'zephyr/emul')
-rw-r--r-- | zephyr/emul/emul_lis2dw12.c | 2 |
1 files changed, 1 insertions, 1 deletions
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), \ }, \ }; \ |