Skip to content

Commit d5134ef

Browse files
rriveramcrusnashif
authored andcommitted
drivers: haptics: drv2605: Drops ti prefix from DT props
Removes the "ti_" prefix form the the device tree properties. Signed-off-by: Ricardo Rivera-Matos <[email protected]>
1 parent 9dc17f7 commit d5134ef

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

drivers/haptics/drv2605.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -601,11 +601,11 @@ static const struct haptics_driver_api drv2605_driver_api = {
601601
\
602602
static const struct drv2605_config drv2605_config_##inst = { \
603603
.i2c = I2C_DT_SPEC_INST_GET(inst), \
604-
.en_gpio = GPIO_DT_SPEC_INST_GET_OR(inst, ti_en_gpios, {}), \
605-
.in_trig_gpio = GPIO_DT_SPEC_INST_GET_OR(inst, ti_in_trig_gpios, {}), \
606-
.feedback_brake_factor = DT_INST_ENUM_IDX_OR(inst, ti_feedback_brake_factor, 3), \
607-
.loop_gain = DT_INST_ENUM_IDX_OR(inst, ti_loop_gain, 2), \
608-
.actuator_mode = DT_INST_ENUM_IDX_OR(inst, ti_actuator_mode, 0), \
604+
.en_gpio = GPIO_DT_SPEC_INST_GET_OR(inst, en_gpios, {}), \
605+
.in_trig_gpio = GPIO_DT_SPEC_INST_GET_OR(inst, in_trig_gpios, {}), \
606+
.feedback_brake_factor = DT_INST_ENUM_IDX_OR(inst, feedback_brake_factor, 3), \
607+
.loop_gain = DT_INST_ENUM_IDX_OR(inst, loop_gain, 2), \
608+
.actuator_mode = DT_INST_ENUM_IDX_OR(inst, actuator_mode, 0), \
609609
}; \
610610
\
611611
static struct drv2605_data drv2605_data_##inst = { \

0 commit comments

Comments
 (0)