drivers: gpio: Smartbond: correct gpio init level

Init level for GPIO drivers is set PRE_KERNEL_1.
Smartbond(tm) driver had it set to POST_KERNEL by accident.

Signed-off-by: Jerzy Kasenberg <jerzy.kasenberg@codecoup.pl>
This commit is contained in:
Jerzy Kasenberg 2023-08-22 14:00:21 +02:00 committed by Carles Cufí
commit 766af4cc0c

View file

@ -283,7 +283,7 @@ static const struct gpio_driver_api gpio_smartbond_drv_api_funcs = {
NULL, \
&gpio_smartbond_p##id##_data, \
&gpio_smartbond_p##id##_config, \
POST_KERNEL, \
PRE_KERNEL_1, \
CONFIG_GPIO_INIT_PRIORITY, \
&gpio_smartbond_drv_api_funcs);