drivers: clock_control: 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
51574420fe
commit
62afdca908
17 changed files with 17 additions and 17 deletions
|
@ -244,7 +244,7 @@ static const struct beetle_clock_control_cfg_t beetle_cc_cfg = {
|
|||
*/
|
||||
DEVICE_DEFINE(clock_control_beetle, CONFIG_ARM_CLOCK_CONTROL_DEV_NAME,
|
||||
&beetle_clock_control_init,
|
||||
device_pm_control_nop,
|
||||
NULL,
|
||||
NULL, &beetle_cc_cfg,
|
||||
PRE_KERNEL_1,
|
||||
CONFIG_CLOCK_CONTROL_BEETLE_DEVICE_INIT_PRIORITY,
|
||||
|
|
|
@ -365,7 +365,7 @@ static const struct esp32_clock_config esp32_clock_config0 = {
|
|||
|
||||
DEVICE_DT_INST_DEFINE(0,
|
||||
&clock_control_esp32_init,
|
||||
device_pm_control_nop,
|
||||
NULL,
|
||||
NULL, &esp32_clock_config0,
|
||||
PRE_KERNEL_1, CONFIG_KERNEL_INIT_PRIORITY_OBJECTS,
|
||||
&clock_control_esp32_api);
|
||||
|
|
|
@ -1786,6 +1786,6 @@ static const struct litex_clk_device ldev_init = {
|
|||
.nclkout = NCLKOUT
|
||||
};
|
||||
|
||||
DEVICE_DT_DEFINE(DT_NODELABEL(clock0), &litex_clk_init, device_pm_control_nop,
|
||||
DEVICE_DT_DEFINE(DT_NODELABEL(clock0), &litex_clk_init, NULL,
|
||||
NULL, &ldev_init, POST_KERNEL,
|
||||
CONFIG_KERNEL_INIT_PRIORITY_DEVICE, &litex_clk_api);
|
||||
|
|
|
@ -395,7 +395,7 @@ static struct lpc11u6x_syscon_data syscon_data;
|
|||
|
||||
DEVICE_DT_INST_DEFINE(0,
|
||||
&lpc11u6x_syscon_init,
|
||||
device_pm_control_nop,
|
||||
NULL,
|
||||
&syscon_data, &syscon_config,
|
||||
PRE_KERNEL_1, CONFIG_KERNEL_INIT_PRIORITY_OBJECTS,
|
||||
&lpc11u6x_clock_control_api);
|
||||
|
|
|
@ -153,7 +153,7 @@ static const struct clock_control_driver_api mcux_ccm_driver_api = {
|
|||
|
||||
DEVICE_DT_INST_DEFINE(0,
|
||||
&mcux_ccm_init,
|
||||
device_pm_control_nop,
|
||||
NULL,
|
||||
NULL, NULL,
|
||||
PRE_KERNEL_1, CONFIG_KERNEL_INIT_PRIORITY_DEVICE,
|
||||
&mcux_ccm_driver_api);
|
||||
|
|
|
@ -66,7 +66,7 @@ static const struct clock_control_driver_api mcux_mcg_driver_api = {
|
|||
|
||||
DEVICE_DT_INST_DEFINE(0,
|
||||
&mcux_mcg_init,
|
||||
device_pm_control_nop,
|
||||
NULL,
|
||||
NULL, NULL,
|
||||
PRE_KERNEL_1, CONFIG_KERNEL_INIT_PRIORITY_DEVICE,
|
||||
&mcux_mcg_driver_api);
|
||||
|
|
|
@ -76,7 +76,7 @@ static const struct clock_control_driver_api mcux_pcc_api = {
|
|||
\
|
||||
DEVICE_DT_INST_DEFINE(inst, \
|
||||
&mcux_pcc_init, \
|
||||
device_pm_control_nop, \
|
||||
NULL, \
|
||||
NULL, &mcux_pcc##inst##_config, \
|
||||
PRE_KERNEL_1, \
|
||||
CONFIG_KERNEL_INIT_PRIORITY_OBJECTS, \
|
||||
|
|
|
@ -125,7 +125,7 @@ static const struct clock_control_driver_api mcux_scg_driver_api = {
|
|||
|
||||
DEVICE_DT_INST_DEFINE(0,
|
||||
&mcux_scg_init,
|
||||
device_pm_control_nop,
|
||||
NULL,
|
||||
NULL, NULL,
|
||||
PRE_KERNEL_1, CONFIG_KERNEL_INIT_PRIORITY_DEVICE,
|
||||
&mcux_scg_driver_api);
|
||||
|
|
|
@ -101,7 +101,7 @@ static const struct clock_control_driver_api mcux_sim_driver_api = {
|
|||
|
||||
DEVICE_DT_DEFINE(NXP_KINETIS_SIM_NODE,
|
||||
&mcux_sim_init,
|
||||
device_pm_control_nop,
|
||||
NULL,
|
||||
NULL, NULL,
|
||||
PRE_KERNEL_1, CONFIG_KERNEL_INIT_PRIORITY_DEVICE,
|
||||
&mcux_sim_driver_api);
|
||||
|
|
|
@ -93,7 +93,7 @@ static const struct clock_control_driver_api mcux_lpc_syscon_api = {
|
|||
\
|
||||
DEVICE_DT_INST_DEFINE(n, \
|
||||
&mcux_lpc_syscon_clock_control_init, \
|
||||
device_pm_control_nop, \
|
||||
NULL, \
|
||||
NULL, NULL, \
|
||||
PRE_KERNEL_1, CONFIG_KERNEL_INIT_PRIORITY_DEVICE, \
|
||||
&mcux_lpc_syscon_api);
|
||||
|
|
|
@ -193,7 +193,7 @@ const struct npcx_pcc_config pcc_config = {
|
|||
|
||||
DEVICE_DT_INST_DEFINE(0,
|
||||
&npcx_clock_control_init,
|
||||
device_pm_control_nop,
|
||||
NULL,
|
||||
NULL, &pcc_config,
|
||||
PRE_KERNEL_1,
|
||||
CONFIG_KERNEL_INIT_PRIORITY_OBJECTS,
|
||||
|
|
|
@ -702,7 +702,7 @@ static const struct nrf_clock_control_config config = {
|
|||
}
|
||||
};
|
||||
|
||||
DEVICE_DT_DEFINE(DT_NODELABEL(clock), clk_init, device_pm_control_nop,
|
||||
DEVICE_DT_DEFINE(DT_NODELABEL(clock), clk_init, NULL,
|
||||
&data, &config,
|
||||
PRE_KERNEL_1, CONFIG_KERNEL_INIT_PRIORITY_DEVICE,
|
||||
&clock_control_api);
|
||||
|
|
|
@ -218,7 +218,7 @@ static const struct clock_control_driver_api rcar_cpg_mssr_api = {
|
|||
\
|
||||
DEVICE_DT_INST_DEFINE(inst, \
|
||||
&rcar_cpg_mssr_init, \
|
||||
device_pm_control_nop, \
|
||||
NULL, \
|
||||
NULL, &rcar_mssr##inst##_config, \
|
||||
PRE_KERNEL_1, \
|
||||
CONFIG_KERNEL_INIT_PRIORITY_OBJECTS, \
|
||||
|
|
|
@ -69,7 +69,7 @@ static const struct clock_control_driver_api rv32m1_pcc_api = {
|
|||
\
|
||||
DEVICE_DT_INST_DEFINE(inst, \
|
||||
&rv32m1_pcc_init, \
|
||||
device_pm_control_nop, \
|
||||
NULL, \
|
||||
NULL, &rv32m1_pcc##inst##_config, \
|
||||
PRE_KERNEL_1, \
|
||||
CONFIG_KERNEL_INIT_PRIORITY_OBJECTS, \
|
||||
|
|
|
@ -624,7 +624,7 @@ int stm32_clock_control_init(const struct device *dev)
|
|||
*/
|
||||
DEVICE_DT_DEFINE(DT_NODELABEL(rcc),
|
||||
&stm32_clock_control_init,
|
||||
device_pm_control_nop,
|
||||
NULL,
|
||||
NULL, NULL,
|
||||
PRE_KERNEL_1,
|
||||
CONFIG_CLOCK_CONTROL_STM32_DEVICE_INIT_PRIORITY,
|
||||
|
|
|
@ -735,7 +735,7 @@ static int stm32_clock_control_init(const struct device *dev)
|
|||
*/
|
||||
DEVICE_DT_DEFINE(DT_NODELABEL(rcc),
|
||||
&stm32_clock_control_init,
|
||||
device_pm_control_nop,
|
||||
NULL,
|
||||
NULL, NULL,
|
||||
PRE_KERNEL_1,
|
||||
CONFIG_CLOCK_CONTROL_STM32_DEVICE_INIT_PRIORITY,
|
||||
|
|
|
@ -411,7 +411,7 @@ static int stm32_clock_control_init(const struct device *dev)
|
|||
*/
|
||||
DEVICE_DT_DEFINE(DT_NODELABEL(rcc),
|
||||
&stm32_clock_control_init,
|
||||
device_pm_control_nop,
|
||||
NULL,
|
||||
NULL, NULL,
|
||||
PRE_KERNEL_1,
|
||||
CONFIG_CLOCK_CONTROL_STM32_DEVICE_INIT_PRIORITY,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue