aboutsummaryrefslogtreecommitdiff
path: root/drivers/fpga/fpga-mgr.c
diff options
context:
space:
mode:
authorMichal Nazarewicz <[email protected]>2016-01-05 14:43:42 +0100
committerFelipe Balbi <[email protected]>2016-03-04 15:14:34 +0200
commitbf0028f8cb44a65ddc57b805ef43bd37dfa8a6ce (patch)
tree08b6f664d33b203806bb6bc9627a75782c79ed4a /drivers/fpga/fpga-mgr.c
parent06cd928b0cfc79e9e17e0d36e39329e20238b185 (diff)
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 <[email protected]> Signed-off-by: Felipe Balbi <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions