commit | a79f5836bd5f38673e130e78e8b8a03438e6a030 | [log] [tgz] |
---|---|---|
author | Geert Uytterhoeven <geert+renesas@glider.be> | Wed Jun 12 17:25:39 2019 +0200 |
committer | Geert Uytterhoeven <geert+renesas@glider.be> | Thu Jun 20 11:36:44 2019 +0200 |
tree | 2b1431613c175fe5904cf30b17d892a90254b04c | |
parent | ba0386111cd86462b994c73084dedf4401c33c44 [diff] |
clk: renesas: mstp: Combine group-private and clock array allocation Make mstp_clock_group.clks[] a flexible array member, and use the new struct_size() helper, to combine the allocation of the group-private structure and array of module clocks. Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Reviewed-by: Simon Horman <horms+renesas@verge.net.au>