usb: gadget: f_midi: move some of f_midi_transmit to separate func
authorMichal Nazarewicz <mina86@mina86.com>
Mon, 18 Jan 2016 16:54:14 +0000 (17:54 +0100)
committerFelipe Balbi <balbi@kernel.org>
Fri, 4 Mar 2016 13:14:33 +0000 (15:14 +0200)
commit9a71eb563441a42effe11d9a8cc1e6be068b7446
tree5c4791ec6151c80835eb7dffebb82ccc28c5ac6f
parentf297e86c7f017430816b27e6cf29bf81246d897e
usb: gadget: f_midi: move some of f_midi_transmit to separate func

Move some of the f_midi_transmit to a separate f_midi_do_transmit
function so the massive indention levels are not so jarring.  This
introduces no changes in behaviour.

Signed-off-by: Michal Nazarewicz <mina86@mina86.com>
Signed-off-by: Felipe Balbi <balbi@kernel.org>
drivers/usb/gadget/function/f_midi.c