diff options
author | Geert Uytterhoeven <geert+renesas@glider.be> | 2019-06-12 17:22:18 +0200 |
---|---|---|
committer | Geert Uytterhoeven <geert+renesas@glider.be> | 2019-06-20 11:36:29 +0200 |
commit | ba0386111cd86462b994c73084dedf4401c33c44 (patch) | |
tree | cb7159b6d83e943d969f4325d01e6f5b0df3b873 /drivers/clk/renesas/clk-mstp.c | |
parent | clk: renesas: cpg-mssr: Update kerneldoc for struct cpg_mssr_priv (diff) | |
download | linux-dev-ba0386111cd86462b994c73084dedf4401c33c44.tar.xz linux-dev-ba0386111cd86462b994c73084dedf4401c33c44.zip |
clk: renesas: div6: Combine clock-private and parent array allocation
Make div6_clock.parents[] a flexible array member, and use the new
struct_size() helper, to combine the allocation of the clock-private
structure and array of parent clocks.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Simon Horman <horms+renesas@verge.net.au>
Diffstat (limited to 'drivers/clk/renesas/clk-mstp.c')
0 files changed, 0 insertions, 0 deletions