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:
Gerard Marull-Paretas 2021-04-28 10:55:48 +02:00 committed by Anas Nashif
commit 1b5542056b
34 changed files with 45 additions and 45 deletions

View file

@ -322,7 +322,7 @@ int gpio_sam_init(const struct device *dev)
\
static struct gpio_sam_runtime port_##n##_sam_runtime; \
\
DEVICE_DT_INST_DEFINE(n, gpio_sam_init, device_pm_control_nop, \
DEVICE_DT_INST_DEFINE(n, gpio_sam_init, NULL, \
&port_##n##_sam_runtime, \
&port_##n##_sam_config, POST_KERNEL, \
CONFIG_KERNEL_INIT_PRIORITY_DEVICE, \