drivers: gpio: cy8c95xx: 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:01:11 +02:00 committed by Anas Nashif
parent 29733a8692
commit d51acd4e88

View file

@ -306,7 +306,7 @@ static const struct cy8c95xx_config cy8c95xx_##idx##_cfg = { \
static struct cy8c95xx_drv_data cy8c95xx_##idx##_drvdata = { \
.lock = &cy8c95xx_lock, \
}; \
DEVICE_DT_INST_DEFINE(idx, cy8c95xx_init, device_pm_control_nop, \
DEVICE_DT_INST_DEFINE(idx, cy8c95xx_init, NULL, \
&cy8c95xx_##idx##_drvdata, &cy8c95xx_##idx##_cfg, \
POST_KERNEL, CONFIG_GPIO_CY8C95XX_INIT_PRIORITY, \
&api_table);