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:
parent
29733a8692
commit
d51acd4e88
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue