Browse Source

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 <gerard.marull@nordicsemi.no>
pull/34682/head
Gerard Marull-Paretas 4 years ago committed by Anas Nashif
parent
commit
7d10f84ca9
  1. 4
      drivers/ps2/ps2_mchp_xec.c

4
drivers/ps2/ps2_mchp_xec.c

@ -201,7 +201,7 @@ static struct ps2_xec_data ps2_xec_port_data_0; @@ -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; @@ -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);

Loading…
Cancel
Save