From 29733a86926b52e16ed1310b8a5a35fca768f2b4 Mon Sep 17 00:00:00 2001 From: Gerard Marull-Paretas Date: Wed, 28 Apr 2021 23:00:22 +0200 Subject: [PATCH] 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 --- include/drivers/gpio/gpio_mmio32.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/drivers/gpio/gpio_mmio32.h b/include/drivers/gpio/gpio_mmio32.h index d114f1317d8..063f8001b85 100644 --- a/include/drivers/gpio/gpio_mmio32.h +++ b/include/drivers/gpio/gpio_mmio32.h @@ -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, \