aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/clk/imx/clk-imx8mp.c
diff options
context:
space:
mode:
authorPeng Fan <peng.fan@nxp.com>2023-01-04 19:00:31 +0800
committerAbel Vesa <abel.vesa@linaro.org>2023-01-29 20:29:29 +0200
commit2d5513bf7563b425b74867c254a7352373613b74 (patch)
tree06661ebb06cfcae74ddee9178e5e5f2b1d0dd6e8 /drivers/clk/imx/clk-imx8mp.c
parentclk: imx: get stdout clk count from device tree (diff)
downloadwireguard-linux-2d5513bf7563b425b74867c254a7352373613b74.tar.xz
wireguard-linux-2d5513bf7563b425b74867c254a7352373613b74.zip
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-imx8mp.c')
-rw-r--r--drivers/clk/imx/clk-imx8mp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/imx/clk-imx8mp.c b/drivers/clk/imx/clk-imx8mp.c
index a57d877d393d..3253589851ff 100644
--- a/drivers/clk/imx/clk-imx8mp.c
+++ b/drivers/clk/imx/clk-imx8mp.c
@@ -723,7 +723,7 @@ static int imx8mp_clocks_probe(struct platform_device *pdev)
of_clk_add_hw_provider(np, of_clk_hw_onecell_get, clk_hw_data);
- imx_register_uart_clocks(4);
+ imx_register_uart_clocks();
return 0;
}