Hi Peng,
> Directly use driver data is wrong, need to the helper to get
> the correct clk_divider and etc
I just followed the kernel approach.
This works as the address of first element of struct clk_XXX is always
struct clk clk address;
But yes, this may be the preferred (more readable)
Directly use driver data is wrong, need to the helper to get
the correct clk_divider and etc
Signed-off-by: Peng Fan
---
drivers/clk/clk-divider.c | 2 +-
drivers/clk/imx/clk-gate2.c | 4 ++--
drivers/clk/imx/clk-pfd.c | 2 +-
drivers/clk/imx/clk-pllv3.c | 2 +-
4 files changed, 5
2 matches
Mail list logo