commit | 8f5e20b6b8848baca6b1cebcd46ab9e94991d24e | [log] [tgz] |
---|---|---|
author | Geert Uytterhoeven <geert+renesas@glider.be> | Wed Jun 12 17:27:56 2019 +0200 |
committer | Geert Uytterhoeven <geert+renesas@glider.be> | Thu Jun 20 11:37:00 2019 +0200 |
tree | 28b5f89ce6769be4b1d99f0833165e2fd022b03c | |
parent | a79f5836bd5f38673e130e78e8b8a03438e6a030 [diff] |
clk: renesas: cpg-mssr: Combine driver-private and clock array allocation Make cpg_mssr_priv.clks[] a flexible array member, and use the new struct_size() helper, to combine the allocation of the driver-private structure and array of available clocks. Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Reviewed-by: Simon Horman <horms+renesas@verge.net.au>