drivers: spi: 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 12:04:51 +02:00 committed by Anas Nashif
commit 90118b265f
17 changed files with 20 additions and 20 deletions

View file

@ -53,7 +53,7 @@ static int vnd_spi_init(const struct device *dev)
}
#define VND_SPI_INIT(n) \
DEVICE_DT_INST_DEFINE(n, &vnd_spi_init, device_pm_control_nop, \
DEVICE_DT_INST_DEFINE(n, &vnd_spi_init, NULL, \
NULL, NULL, POST_KERNEL, \
CONFIG_KERNEL_INIT_PRIORITY_DEVICE, \
&vnd_spi_api);