drivers: gpio: 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:55:48 +02:00 committed by Anas Nashif
commit 1b5542056b
34 changed files with 45 additions and 45 deletions

View file

@ -359,7 +359,7 @@ static struct gpio_sifive_data gpio_sifive_data0;
DEVICE_DT_INST_DEFINE(0,
gpio_sifive_init,
device_pm_control_nop,
NULL,
&gpio_sifive_data0, &gpio_sifive_config0,
POST_KERNEL, CONFIG_KERNEL_INIT_PRIORITY_DEVICE,
&gpio_sifive_driver);