diff options
author | Samuel Holland <[email protected]> | 2022-05-30 23:35:39 -0500 |
---|---|---|
committer | Jernej Skrabec <[email protected]> | 2022-06-06 23:13:28 +0200 |
commit | e1c51d31befcebe42f4188a14c91503eba42d551 (patch) | |
tree | 09ec5338c0b1fbd2e8fc2bf896cdbf83df0c4aba /scripts/gcc-plugins/randomize_layout_plugin.c | |
parent | f2906aa863381afb0015a9eb7fefad885d4e5a56 (diff) |
clk: sunxi-ng: Deduplicate ccu_clks arrays
The ccu_clks arrays are used to link ccu_common objects to a platform
device during probe. There is no requirement that the clk_hw inside the
ccu_common object ever gets registered with the clock framework. So the
drivers do not need a separate ccu_clks array for each CCU variant.
A single array per driver, containing the union of the CCU clocks from
all variants, is sufficient.
Let's save some space by combining the ccu_clks arrays in each driver.
Signed-off-by: Samuel Holland <[email protected]>
Acked-by: Jernej Skrabec <[email protected]>
Reviewed-by: Andre Przywara <[email protected]>
Signed-off-by: Jernej Skrabec <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'scripts/gcc-plugins/randomize_layout_plugin.c')
0 files changed, 0 insertions, 0 deletions