diff options
author | Geert Uytterhoeven | 2019-06-12 17:25:39 +0200 |
---|---|---|
committer | Geert Uytterhoeven | 2019-06-20 11:36:44 +0200 |
commit | a79f5836bd5f38673e130e78e8b8a03438e6a030 (patch) | |
tree | 2b1431613c175fe5904cf30b17d892a90254b04c /arch/mips | |
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>
Diffstat (limited to 'arch/mips')
0 files changed, 0 insertions, 0 deletions