diff options
author | Peng Fan <peng.fan@nxp.com> | 2023-01-04 14:00:31 +0300 |
---|---|---|
committer | Abel Vesa <abel.vesa@linaro.org> | 2023-01-29 21:29:29 +0300 |
commit | 2d5513bf7563b425b74867c254a7352373613b74 (patch) | |
tree | 06661ebb06cfcae74ddee9178e5e5f2b1d0dd6e8 /drivers/clk/imx/clk-imx8ulp.c | |
parent | 8658f0acc8b0ab67f66b028e8f6136038b7b7379 (diff) | |
download | linux-2d5513bf7563b425b74867c254a7352373613b74.tar.xz |
clk: imx: remove clk_count of imx_register_uart_clocks
The clk count has been get with of_clk_get_parent_count, there is
no need to pass clk_count from users.
Signed-off-by: Peng Fan <peng.fan@nxp.com>
Reviewed-by: Abel Vesa <abel.vesa@linaro.org>
Signed-off-by: Abel Vesa <abel.vesa@linaro.org>
Link: https://lore.kernel.org/r/20230104110032.1220721-4-peng.fan@oss.nxp.com
Diffstat (limited to 'drivers/clk/imx/clk-imx8ulp.c')
-rw-r--r-- | drivers/clk/imx/clk-imx8ulp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/imx/clk-imx8ulp.c b/drivers/clk/imx/clk-imx8ulp.c index 8eb1af2d6429..a07df3b44703 100644 --- a/drivers/clk/imx/clk-imx8ulp.c +++ b/drivers/clk/imx/clk-imx8ulp.c @@ -385,7 +385,7 @@ static int imx8ulp_clk_pcc3_init(struct platform_device *pdev) if (ret) return ret; - imx_register_uart_clocks(1); + imx_register_uart_clocks(); /* register the pcc3 reset controller */ return imx8ulp_pcc_reset_init(pdev, base, pcc3_resets, ARRAY_SIZE(pcc3_resets)); |