treewide: Update clock control API usage
Replace all (clock_control_subsys_t *) casts with (clock_control_subsys_t) Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
This commit is contained in:
parent
688e255e6e
commit
6b532ff43e
88 changed files with 160 additions and 160 deletions
|
@ -522,7 +522,7 @@ static int xec_ecia_init(const struct device *dev)
|
|||
}
|
||||
|
||||
ret = clock_control_on(clk_dev,
|
||||
(clock_control_subsys_t *)&cfg->clk_ctrl);
|
||||
(clock_control_subsys_t)&cfg->clk_ctrl);
|
||||
if (ret < 0) {
|
||||
return ret;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue