clk: imx93: Move IMX93_CLK_END macro to clk driver
authorPengfei Li <pengfei.li_1@nxp.com>
Wed, 23 Oct 2024 18:46:47 +0000 (11:46 -0700)
committerAbel Vesa <abel.vesa@linaro.org>
Wed, 23 Oct 2024 19:48:28 +0000 (22:48 +0300)
commit0af18ba60752e8a4ba34404c1d9a4a799da690f5
tree7b647363f02b681406c92d2c830d753787f4d114
parentcf295252f0d88410d5793fa6db56a7192a65d66f
clk: imx93: Move IMX93_CLK_END macro to clk driver

IMX93_CLK_END was previously defined in imx93-clock.h to indicate
the number of clocks. However, it is not part of the ABI. For starters
it does no really appear in DTS. But what's more important - new clocks
are described later, which contradicts this define in binding header.
So move this macro to clock driver.

Signed-off-by: Pengfei Li <pengfei.li_1@nxp.com>
Reviewed-by: Abel Vesa <abel.vesa@linaro.org>
Link: https://lore.kernel.org/r/20241023184651.381265-2-pengfei.li_1@nxp.com
Signed-off-by: Abel Vesa <abel.vesa@linaro.org>
drivers/clk/imx/clk-imx93.c