Browse Source

drivers: gpio: test: use CONFIG_GPIO_INIT_PRIORITY for init priority

Use the dedicated CONFIG_GPIO_INIT_PRIORITY for vnd,gpio test driver
initialization priority.

Signed-off-by: Henrik Brix Andersen <hebad@vestas.com>
pull/56244/head
Henrik Brix Andersen 2 years ago committed by Fabio Baltieri
parent
commit
e440b023dd
  1. 2
      drivers/gpio/gpio_test.c

2
drivers/gpio/gpio_test.c

@ -112,7 +112,7 @@ static int vnd_gpio_init(const struct device *dev) @@ -112,7 +112,7 @@ static int vnd_gpio_init(const struct device *dev)
DEVICE_DT_INST_DEFINE(n, &vnd_gpio_init, NULL, \
&vnd_gpio_data_##n, &vnd_gpio_config_##n, \
POST_KERNEL, \
CONFIG_KERNEL_INIT_PRIORITY_DEVICE, \
CONFIG_GPIO_INIT_PRIORITY, \
&vnd_gpio_api);
DT_INST_FOREACH_STATUS_OKAY(VND_GPIO_INIT)

Loading…
Cancel
Save