drivers: gpio: remove usage of device_pm_control_nop
device_pm_control_nop is now deprecated in favour of NULL. Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
This commit is contained in:
parent
faeaea112e
commit
1b5542056b
34 changed files with 45 additions and 45 deletions
|
@ -284,7 +284,7 @@ static struct gpio_gecko_common_data gpio_gecko_common_data;
|
|||
|
||||
DEVICE_DT_DEFINE(DT_INST(0, silabs_gecko_gpio),
|
||||
gpio_gecko_common_init,
|
||||
device_pm_control_nop,
|
||||
NULL,
|
||||
&gpio_gecko_common_data, &gpio_gecko_common_config,
|
||||
POST_KERNEL, CONFIG_GPIO_GECKO_COMMON_INIT_PRIORITY,
|
||||
&gpio_gecko_common_driver_api);
|
||||
|
@ -322,7 +322,7 @@ static struct gpio_gecko_data gpio_gecko_port##idx##_data; \
|
|||
\
|
||||
DEVICE_DT_INST_DEFINE(idx, \
|
||||
gpio_gecko_port##idx##_init, \
|
||||
device_pm_control_nop, \
|
||||
NULL, \
|
||||
&gpio_gecko_port##idx##_data, \
|
||||
&gpio_gecko_port##idx##_config, \
|
||||
POST_KERNEL, CONFIG_KERNEL_INIT_PRIORITY_DEFAULT, \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue