drivers: gpio: gpio_mmio32: remove usage of device_pm_control_nop

Replace usage of deprecated device_pm_control_nop with NULL.

Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
This commit is contained in:
Gerard Marull-Paretas 2021-04-28 23:00:22 +02:00 committed by Anas Nashif
parent d5fc40e748
commit 29733a8692

View file

@ -54,7 +54,7 @@ static const struct gpio_mmio32_config _CONCAT(Z_DEVICE_DT_DEV_NAME(node_id), _c
\
DEVICE_DT_DEFINE(node_id, \
&gpio_mmio32_init, \
device_pm_control_nop, \
NULL, \
&_CONCAT(Z_DEVICE_DT_DEV_NAME(node_id), _ctx), \
&_CONCAT(Z_DEVICE_DT_DEV_NAME(node_id), _cfg), \
PRE_KERNEL_1, CONFIG_KERNEL_INIT_PRIORITY_DEVICE, \