diff options
| author | Geert Uytterhoeven <[email protected]> | 2019-06-12 17:27:56 +0200 |
|---|---|---|
| committer | Geert Uytterhoeven <[email protected]> | 2019-06-20 11:37:00 +0200 |
| commit | 8f5e20b6b8848baca6b1cebcd46ab9e94991d24e (patch) | |
| tree | 28b5f89ce6769be4b1d99f0833165e2fd022b03c /drivers/pci/controller/pci-aardvark.c | |
| 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 <[email protected]>
Reviewed-by: Simon Horman <[email protected]>
Diffstat (limited to 'drivers/pci/controller/pci-aardvark.c')
0 files changed, 0 insertions, 0 deletions