Skip to content

Commit 4592074

Browse files
committed
drivers: adc: max1125x: fix typo in GPIO config
Corrected the property assignment for gpo0_enable. Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
1 parent 6c4ed09 commit 4592074

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/adc/adc_max1125x.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -799,7 +799,7 @@ static DEVICE_API(adc, max1125x_api) = {
799799
.gpio.gpio1_enable = DT_PROP_OR(DT_INST_MAX1125X(n, t), gpio1_enable, 0), \
800800
.gpio.gpio0_direction = DT_PROP_OR(DT_INST_MAX1125X(n, t), gpio0_direction, 0), \
801801
.gpio.gpio1_direction = DT_PROP_OR(DT_INST_MAX1125X(n, t), gpio1_direction, 0), \
802-
.gpo.gpo0_enable = DT_PROP_OR(DT_INST_MAX1125X(n, t), gpo1_enable, 0), \
802+
.gpo.gpo0_enable = DT_PROP_OR(DT_INST_MAX1125X(n, t), gpo0_enable, 0), \
803803
.gpo.gpo1_enable = DT_PROP_OR(DT_INST_MAX1125X(n, t), gpo1_enable, 0), \
804804
}; \
805805
static struct max1125x_data max##t##_data_##n = { \

0 commit comments

Comments
 (0)