summaryrefslogtreecommitdiff
path: root/drivers/clk/socfpga
diff options
context:
space:
mode:
authorLuca Ceresoli <luca@lucaceresoli.net>2020-07-23 09:26:03 +0200
committerStephen Boyd <sboyd@kernel.org>2020-07-23 15:34:21 -0700
commit3bca66b08ec833c4506e97371f2c74e7de00792a (patch)
treea4f64ffa0e51d452280e67f55cdaf8dfcf087966 /drivers/clk/socfpga
parent45c940184b501fc65592432a269b7a34cf2237b6 (diff)
clk: vc5: use a dedicated struct to describe the output drivers
Reusing the generic struct vc5_hw_data for all blocks is handy. However it implies we allocate space the div_int and div_frc fields even for the output drivers where they are unused, and the clk_output_cfg0 and clk_output_cfg0_mask fields for all components even though they are used only for the output drivers. Use a dedicated struct for the output drivers so that each block uses exactly the fields it needs, not more. Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net> Link: https://lore.kernel.org/r/20200723072603.1795-1-luca@lucaceresoli.net Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'drivers/clk/socfpga')
0 files changed, 0 insertions, 0 deletions