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:
Gerard Marull-Paretas 2021-04-28 11:03:29 +02:00 committed by Anas Nashif
commit a8245f78a1
27 changed files with 28 additions and 28 deletions

View file

@ -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);