summaryrefslogtreecommitdiff
path: root/Kbuild
diff options
context:
space:
mode:
authorMichal Nazarewicz <mina86@mina86.com>2016-01-05 13:43:42 (GMT)
committerFelipe Balbi <balbi@kernel.org>2016-03-04 13:14:34 (GMT)
commitbf0028f8cb44a65ddc57b805ef43bd37dfa8a6ce (patch)
tree08b6f664d33b203806bb6bc9627a75782c79ed4a /Kbuild
parent06cd928b0cfc79e9e17e0d36e39329e20238b185 (diff)
downloadlinux-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 'Kbuild')
0 files changed, 0 insertions, 0 deletions