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:
parent
a4081b66d8
commit
90118b265f
17 changed files with 20 additions and 20 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue