diff --git a/drivers/pwm/pwm_gecko.c b/drivers/pwm/pwm_gecko.c index 672bc208e9e..8145123854a 100644 --- a/drivers/pwm/pwm_gecko.c +++ b/drivers/pwm/pwm_gecko.c @@ -114,8 +114,7 @@ static int pwm_gecko_init(const struct device *dev) .pin = DT_INST_PROP_BY_IDX(index, pin_location, 2), \ }; \ \ - DEVICE_DT_INST_DEFINE(index, &pwm_gecko_init, device_pm_control_nop, \ - NULL, \ + DEVICE_DT_INST_DEFINE(index, &pwm_gecko_init, NULL, NULL, \ &pwm_gecko_config_##index, POST_KERNEL, \ CONFIG_KERNEL_INIT_PRIORITY_DEVICE, \ &pwm_gecko_driver_api); diff --git a/drivers/pwm/pwm_imx.c b/drivers/pwm/pwm_imx.c index e857930234e..70294ef62b9 100644 --- a/drivers/pwm/pwm_imx.c +++ b/drivers/pwm/pwm_imx.c @@ -166,7 +166,7 @@ static const struct pwm_driver_api imx_pwm_driver_api = { \ static struct imx_pwm_data imx_pwm_data_##n; \ \ - DEVICE_DT_INST_DEFINE(n, &imx_pwm_init, device_pm_control_nop, \ + DEVICE_DT_INST_DEFINE(n, &imx_pwm_init, NULL, \ &imx_pwm_data_##n, \ &imx_pwm_config_##n, POST_KERNEL, \ CONFIG_KERNEL_INIT_PRIORITY_DEVICE, \ diff --git a/drivers/pwm/pwm_led_esp32.c b/drivers/pwm/pwm_led_esp32.c index a354376dc01..f97b23e975a 100644 --- a/drivers/pwm/pwm_led_esp32.c +++ b/drivers/pwm/pwm_led_esp32.c @@ -520,6 +520,6 @@ const static struct pwm_led_esp32_config pwm_led_esp32_config = { }; DEVICE_DEFINE(pwm_led_esp32_0, CONFIG_PWM_LED_ESP32_DEV_NAME_0, - pwm_led_esp32_init, device_pm_control_nop, NULL, + pwm_led_esp32_init, NULL, NULL, &pwm_led_esp32_config, POST_KERNEL, CONFIG_KERNEL_INIT_PRIORITY_DEVICE, &pwm_led_esp32_api); diff --git a/drivers/pwm/pwm_litex.c b/drivers/pwm/pwm_litex.c index 297d9bbcd67..e684fdc2a7b 100644 --- a/drivers/pwm/pwm_litex.c +++ b/drivers/pwm/pwm_litex.c @@ -107,7 +107,7 @@ static const struct pwm_driver_api pwm_litex_driver_api = { \ DEVICE_DT_INST_DEFINE(n, \ pwm_litex_init, \ - device_pm_control_nop, \ + NULL, \ NULL, \ &pwm_litex_cfg_##n, \ POST_KERNEL, \ diff --git a/drivers/pwm/pwm_mchp_xec.c b/drivers/pwm/pwm_mchp_xec.c index ca9982e74df..3b639f54fe7 100644 --- a/drivers/pwm/pwm_mchp_xec.c +++ b/drivers/pwm/pwm_mchp_xec.c @@ -389,7 +389,7 @@ static struct pwm_driver_api pwm_xec_api = { \ DEVICE_DT_INST_DEFINE(inst, \ pwm_xec_init, \ - device_pm_control_nop, \ + NULL, \ NULL, \ &pwm_xec_dev_config_##inst, \ POST_KERNEL, \ diff --git a/drivers/pwm/pwm_mcux.c b/drivers/pwm/pwm_mcux.c index ae78162548d..f4ea9b88694 100644 --- a/drivers/pwm/pwm_mcux.c +++ b/drivers/pwm/pwm_mcux.c @@ -165,7 +165,7 @@ static const struct pwm_driver_api pwm_mcux_driver_api = { \ DEVICE_DT_INST_DEFINE(n, \ pwm_mcux_init, \ - device_pm_control_nop, \ + NULL, \ &pwm_mcux_data_ ## n, \ &pwm_mcux_config_ ## n, \ POST_KERNEL, CONFIG_KERNEL_INIT_PRIORITY_DEVICE,\ diff --git a/drivers/pwm/pwm_mcux_ftm.c b/drivers/pwm/pwm_mcux_ftm.c index cc5fcf4067a..dd06fe357b3 100644 --- a/drivers/pwm/pwm_mcux_ftm.c +++ b/drivers/pwm/pwm_mcux_ftm.c @@ -476,7 +476,7 @@ static const struct mcux_ftm_config mcux_ftm_config_##n = { \ static struct mcux_ftm_data mcux_ftm_data_##n; \ static const struct mcux_ftm_config mcux_ftm_config_##n; \ DEVICE_DT_INST_DEFINE(n, &mcux_ftm_init, \ - device_pm_control_nop, &mcux_ftm_data_##n, \ + NULL, &mcux_ftm_data_##n, \ &mcux_ftm_config_##n, \ POST_KERNEL, CONFIG_KERNEL_INIT_PRIORITY_DEVICE, \ &mcux_ftm_driver_api); \ diff --git a/drivers/pwm/pwm_mcux_pwt.c b/drivers/pwm/pwm_mcux_pwt.c index a543c92ae9e..92ff84e7806 100644 --- a/drivers/pwm/pwm_mcux_pwt.c +++ b/drivers/pwm/pwm_mcux_pwt.c @@ -324,7 +324,7 @@ static const struct pwm_driver_api mcux_pwt_driver_api = { static struct mcux_pwt_data mcux_pwt_data_##n; \ \ DEVICE_DT_INST_DEFINE(n, &mcux_pwt_init, \ - device_pm_control_nop, &mcux_pwt_data_##n, \ + NULL, &mcux_pwt_data_##n, \ &mcux_pwt_config_##n, \ POST_KERNEL, \ CONFIG_KERNEL_INIT_PRIORITY_DEVICE, \ diff --git a/drivers/pwm/pwm_mcux_tpm.c b/drivers/pwm/pwm_mcux_tpm.c index bf66ef55523..c02ea30cd5c 100644 --- a/drivers/pwm/pwm_mcux_tpm.c +++ b/drivers/pwm/pwm_mcux_tpm.c @@ -186,7 +186,7 @@ static const struct pwm_driver_api mcux_tpm_driver_api = { .mode = kTPM_EdgeAlignedPwm, \ }; \ static struct mcux_tpm_data mcux_tpm_data_##n; \ - DEVICE_DT_INST_DEFINE(n, &mcux_tpm_init, device_pm_control_nop, \ + DEVICE_DT_INST_DEFINE(n, &mcux_tpm_init, NULL, \ &mcux_tpm_data_##n, \ &mcux_tpm_config_##n, \ POST_KERNEL, CONFIG_KERNEL_INIT_PRIORITY_DEVICE, \ diff --git a/drivers/pwm/pwm_npcx.c b/drivers/pwm/pwm_npcx.c index 5df9fe4fe8e..99fa25df822 100644 --- a/drivers/pwm/pwm_npcx.c +++ b/drivers/pwm/pwm_npcx.c @@ -219,7 +219,7 @@ static int pwm_npcx_init(const struct device *dev) static struct pwm_npcx_data pwm_npcx_data_##inst; \ \ DEVICE_DT_INST_DEFINE(inst, \ - &pwm_npcx_init, device_pm_control_nop, \ + &pwm_npcx_init, NULL, \ &pwm_npcx_data_##inst, &pwm_npcx_cfg_##inst, \ PRE_KERNEL_1, CONFIG_KERNEL_INIT_PRIORITY_DEVICE, \ &pwm_npcx_driver_api); diff --git a/drivers/pwm/pwm_nrf5_sw.c b/drivers/pwm/pwm_nrf5_sw.c index 3a0db404d8e..08a2eca9859 100644 --- a/drivers/pwm/pwm_nrf5_sw.c +++ b/drivers/pwm/pwm_nrf5_sw.c @@ -386,7 +386,7 @@ static struct pwm_data pwm_nrf5_sw_0_data; DEVICE_DT_INST_DEFINE(0, pwm_nrf5_sw_init, - device_pm_control_nop, + NULL, &pwm_nrf5_sw_0_data, &pwm_nrf5_sw_0_config, POST_KERNEL, diff --git a/drivers/pwm/pwm_rv32m1_tpm.c b/drivers/pwm/pwm_rv32m1_tpm.c index 93b5e75cb12..f72cb8a2738 100644 --- a/drivers/pwm/pwm_rv32m1_tpm.c +++ b/drivers/pwm/pwm_rv32m1_tpm.c @@ -186,7 +186,7 @@ static const struct pwm_driver_api rv32m1_tpm_driver_api = { .mode = kTPM_EdgeAlignedPwm, \ }; \ static struct rv32m1_tpm_data rv32m1_tpm_data_##n; \ - DEVICE_DT_INST_DEFINE(n, &rv32m1_tpm_init, device_pm_control_nop, \ + DEVICE_DT_INST_DEFINE(n, &rv32m1_tpm_init, NULL, \ &rv32m1_tpm_data_##n, \ &rv32m1_tpm_config_##n, \ POST_KERNEL, CONFIG_KERNEL_INIT_PRIORITY_DEVICE, \ diff --git a/drivers/pwm/pwm_sam.c b/drivers/pwm/pwm_sam.c index c39a1ab93e3..6d33aaf0e09 100644 --- a/drivers/pwm/pwm_sam.c +++ b/drivers/pwm/pwm_sam.c @@ -107,7 +107,7 @@ static const struct pwm_driver_api sam_pwm_driver_api = { }; \ \ DEVICE_DT_INST_DEFINE(inst, \ - &sam_pwm_init, device_pm_control_nop \ + &sam_pwm_init, NULL \ NULL, &sam_pwm_config_##inst, \ POST_KERNEL, \ CONFIG_KERNEL_INIT_PRIORITY_DEVICE, \ diff --git a/drivers/pwm/pwm_sam0_tcc.c b/drivers/pwm/pwm_sam0_tcc.c index c54a9d70eb3..0bd8254360a 100644 --- a/drivers/pwm/pwm_sam0_tcc.c +++ b/drivers/pwm/pwm_sam0_tcc.c @@ -157,7 +157,7 @@ static const struct pwm_driver_api pwm_sam0_driver_api = { PWM_SAM0_INIT_CLOCKS(inst), \ }; \ \ - DEVICE_DT_INST_DEFINE(inst, &pwm_sam0_init, device_pm_control_nop, \ + DEVICE_DT_INST_DEFINE(inst, &pwm_sam0_init, NULL, \ NULL, &pwm_sam0_config_##inst, \ POST_KERNEL, CONFIG_KERNEL_INIT_PRIORITY_DEVICE, \ &pwm_sam0_driver_api); diff --git a/drivers/pwm/pwm_sifive.c b/drivers/pwm/pwm_sifive.c index 546fd75c41a..bb91e96bb11 100644 --- a/drivers/pwm/pwm_sifive.c +++ b/drivers/pwm/pwm_sifive.c @@ -231,7 +231,7 @@ static const struct pwm_driver_api pwm_sifive_api = { }; \ DEVICE_DT_INST_DEFINE(n, \ pwm_sifive_init, \ - device_pm_control_nop, \ + NULL, \ &pwm_sifive_data_##n, \ &pwm_sifive_cfg_##n, \ POST_KERNEL, \ diff --git a/drivers/pwm/pwm_stm32.c b/drivers/pwm/pwm_stm32.c index 647056f47db..157b1615778 100644 --- a/drivers/pwm/pwm_stm32.c +++ b/drivers/pwm/pwm_stm32.c @@ -355,7 +355,7 @@ static int pwm_stm32_init(const struct device *dev) .pinctrl_len = ARRAY_SIZE(pwm_pins_##index), \ }; \ \ - DEVICE_DT_INST_DEFINE(index, &pwm_stm32_init, device_pm_control_nop, \ + DEVICE_DT_INST_DEFINE(index, &pwm_stm32_init, NULL, \ &pwm_stm32_data_##index, \ &pwm_stm32_config_##index, POST_KERNEL, \ CONFIG_KERNEL_INIT_PRIORITY_DEVICE, \ diff --git a/drivers/pwm/pwm_xlnx_axi_timer.c b/drivers/pwm/pwm_xlnx_axi_timer.c index e2ed3c2f00b..52c5761c624 100644 --- a/drivers/pwm/pwm_xlnx_axi_timer.c +++ b/drivers/pwm/pwm_xlnx_axi_timer.c @@ -204,7 +204,7 @@ static const struct pwm_driver_api xlnx_axi_timer_driver_api = { }; \ \ DEVICE_DT_INST_DEFINE(n, &xlnx_axi_timer_init, \ - device_pm_control_nop, NULL, \ + NULL, NULL, \ &xlnx_axi_timer_config_##n, \ POST_KERNEL, \ CONFIG_KERNEL_INIT_PRIORITY_DEVICE, \