Skip to content

Commit a00c901

Browse files
committed
drivers: sensor: tdk: remove duplicate entries in ICM42X70_CONFIG_COMMON
Eliminate redundant entries for `accel_pwr_mode` and `apex`. Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
1 parent 0f6aeca commit a00c901

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

drivers/sensor/tdk/icm42x70/icm42x70.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -974,8 +974,6 @@ static DEVICE_API(sensor, icm42x70_driver_api) = {
974974
.accel_filt_bw = DT_INST_ENUM_IDX(inst, accel_filt_bw_hz), \
975975
.accel_pwr_mode = DT_INST_ENUM_IDX(inst, power_mode), \
976976
.apex = DT_INST_ENUM_IDX(inst, apex), \
977-
.accel_pwr_mode = DT_INST_ENUM_IDX(inst, power_mode), \
978-
.apex = DT_INST_ENUM_IDX(inst, apex), \
979977
IF_ENABLED(CONFIG_USE_EMD_ICM42670, \
980978
(.gyro_fs = DT_INST_ENUM_IDX(inst, gyro_fs),)) \
981979
IF_ENABLED(CONFIG_USE_EMD_ICM42670, \

0 commit comments

Comments
 (0)