clk: mmp2: Move number of clocks to driver source
authorDuje Mihanović <duje.mihanovic@skole.hr>
Sat, 12 Aug 2023 10:02:56 +0000 (12:02 +0200)
committerStephen Boyd <sboyd@kernel.org>
Tue, 22 Aug 2023 21:13:45 +0000 (14:13 -0700)
commit46c13513a4af9e5ca8b286ab8f3afecb1404282a
tree9583dedc3b10108ff5b705294d63eaf2bafe3967
parent979663c3d273a1b36362186607acfc311b521848
clk: mmp2: Move number of clocks to driver source

The number of clocks should not be in the dt binding as it is not used
by the respective device tree and thus needlessly bloats the ABI.

Move this number of clocks into the driver source.

Signed-off-by: Duje Mihanović <duje.mihanovic@skole.hr>
Link: https://lore.kernel.org/r/20230812-mmp-nr-clks-v2-1-f9271bd7eaa5@skole.hr
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/mmp/clk-audio.c
drivers/clk/mmp/clk-of-mmp2.c
include/dt-bindings/clock/marvell,mmp2-audio.h
include/dt-bindings/clock/marvell,mmp2.h