From 7d10f84ca96dd44f3e89ff90c576adc15b38be7c Mon Sep 17 00:00:00 2001 From: Gerard Marull-Paretas Date: Wed, 28 Apr 2021 11:31:59 +0200 Subject: [PATCH] drivers: ps2: remove usage of device_pm_control_nop device_pm_control_nop is now deprecated in favour of NULL. Signed-off-by: Gerard Marull-Paretas --- drivers/ps2/ps2_mchp_xec.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/ps2/ps2_mchp_xec.c b/drivers/ps2/ps2_mchp_xec.c index a9f02664c40..c316ce2ce1c 100644 --- a/drivers/ps2/ps2_mchp_xec.c +++ b/drivers/ps2/ps2_mchp_xec.c @@ -201,7 +201,7 @@ static struct ps2_xec_data ps2_xec_port_data_0; DEVICE_DT_INST_DEFINE(0, &ps2_xec_init_0, - device_pm_control_nop, + NULL, &ps2_xec_port_data_0, &ps2_xec_config_0, POST_KERNEL, CONFIG_PS2_INIT_PRIORITY, &ps2_xec_driver_api); @@ -240,7 +240,7 @@ static struct ps2_xec_data ps2_xec_port_data_1; DEVICE_DT_INST_DEFINE(1, &ps2_xec_init_1, - device_pm_control_nop, + NULL, &ps2_xec_port_data_1, &ps2_xec_config_1, POST_KERNEL, CONFIG_PS2_INIT_PRIORITY, &ps2_xec_driver_api);