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>
This commit is contained in:
parent
26bca11dc8
commit
7d10f84ca9
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue