drivers: disk: 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:
Gerard Marull-Paretas 2021-04-28 10:31:10 +02:00 committed by Anas Nashif
commit 374d46c235
3 changed files with 3 additions and 3 deletions

View file

@ -2851,7 +2851,7 @@ static int disk_usdhc_init(const struct device *dev)
\
DEVICE_DT_INST_DEFINE(n, \
&disk_usdhc_init, \
device_pm_control_nop, \
NULL, \
&usdhc_priv_##n, \
&usdhc_config_##n, \
POST_KERNEL, \