Skip to content

Commit f024a1c

Browse files
Benjamin CabéChromeos LUCI
authored andcommitted
drivers: sensor: tdk: remove duplicate entries in ICM42X70_CONFIG_COMMON
Eliminate redundant entries for `accel_pwr_mode` and `apex`. (cherry picked from commit a00c901) Original-Signed-off-by: Benjamin Cabé <[email protected]> GitOrigin-RevId: a00c901 Cr-Build-Id: 8711840798614211969 Cr-Build-Url: https://cr-buildbucket.appspot.com/build/8711840798614211969 Copybot-Job-Name: zephyr-main-copybot-downstream Change-Id: Ie27b486f80fc8f515858ddfeb44e06233e6e8356 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/zephyr/+/6650443 Reviewed-by: Yuval Peress <[email protected]> Commit-Queue: Yuval Peress <[email protected]> Tested-by: Yuval Peress <[email protected]> Tested-by: ChromeOS Copybot <[email protected]>
1 parent d0b1d30 commit f024a1c

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)