From a00c90137728e3f83530e55346bf792cc8214bb2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20Cab=C3=A9?= Date: Sat, 14 Jun 2025 21:29:13 +0200 Subject: [PATCH] drivers: sensor: tdk: remove duplicate entries in ICM42X70_CONFIG_COMMON MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Eliminate redundant entries for `accel_pwr_mode` and `apex`. Signed-off-by: Benjamin Cabé --- drivers/sensor/tdk/icm42x70/icm42x70.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/sensor/tdk/icm42x70/icm42x70.c b/drivers/sensor/tdk/icm42x70/icm42x70.c index 4e52c83d923..01b82632faa 100644 --- a/drivers/sensor/tdk/icm42x70/icm42x70.c +++ b/drivers/sensor/tdk/icm42x70/icm42x70.c @@ -974,8 +974,6 @@ static DEVICE_API(sensor, icm42x70_driver_api) = { .accel_filt_bw = DT_INST_ENUM_IDX(inst, accel_filt_bw_hz), \ .accel_pwr_mode = DT_INST_ENUM_IDX(inst, power_mode), \ .apex = DT_INST_ENUM_IDX(inst, apex), \ - .accel_pwr_mode = DT_INST_ENUM_IDX(inst, power_mode), \ - .apex = DT_INST_ENUM_IDX(inst, apex), \ IF_ENABLED(CONFIG_USE_EMD_ICM42670, \ (.gyro_fs = DT_INST_ENUM_IDX(inst, gyro_fs),)) \ IF_ENABLED(CONFIG_USE_EMD_ICM42670, \