samples: out_of_tree_driver: 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 22:59:09 +02:00 committed by Anas Nashif
parent c1dd09819b
commit d5fc40e748

View file

@ -43,6 +43,6 @@ static inline void z_vrfy_hello_world_print(const struct device *dev)
DEVICE_DEFINE(hello_world, "CUSTOM_DRIVER",
init, device_pm_control_nop, &data, NULL,
init, NULL, &data, NULL,
PRE_KERNEL_1, CONFIG_KERNEL_INIT_PRIORITY_DEVICE,
&((struct hello_world_driver_api){ .print = print_impl }));