diff options
author | Michal Nazarewicz <mina86@mina86.com> | 2016-01-05 13:43:42 (GMT) |
---|---|---|
committer | Felipe Balbi <balbi@kernel.org> | 2016-03-04 13:14:34 (GMT) |
commit | bf0028f8cb44a65ddc57b805ef43bd37dfa8a6ce (patch) | |
tree | 08b6f664d33b203806bb6bc9627a75782c79ed4a /drivers/clocksource | |
parent | 06cd928b0cfc79e9e17e0d36e39329e20238b185 (diff) | |
download | linux-bf0028f8cb44a65ddc57b805ef43bd37dfa8a6ce.tar.xz |
usb: gadget: f_midi: use flexible array member for gmidi_in_port elements
Reduce number of allocations, simplify memory management and reduce
memory usage by stacking the gmidi_in_port elements at the end of the
f_midi structure using a flexible array.
Signed-off-by: Michal Nazarewicz <mina86@mina86.com>
Signed-off-by: Felipe Balbi <balbi@kernel.org>
Diffstat (limited to 'drivers/clocksource')
0 files changed, 0 insertions, 0 deletions