drivers: i2c: 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
1b5542056b
commit
a8245f78a1
27 changed files with 28 additions and 28 deletions
|
@ -38,7 +38,7 @@ static int vnd_i2c_init(const struct device *dev)
|
|||
}
|
||||
|
||||
#define VND_I2C_INIT(n) \
|
||||
DEVICE_DT_INST_DEFINE(n, &vnd_i2c_init, device_pm_control_nop, \
|
||||
DEVICE_DT_INST_DEFINE(n, &vnd_i2c_init, NULL, \
|
||||
NULL, NULL, POST_KERNEL, \
|
||||
CONFIG_KERNEL_INIT_PRIORITY_DEVICE, \
|
||||
&vnd_i2c_api);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue