]> git.baikalelectronics.ru Git - kernel.git/commit
USB: gadget: midi: refactor the device code
authorDaniel Mack <zonque@gmail.com>
Wed, 28 Sep 2011 14:41:33 +0000 (16:41 +0200)
committerFelipe Balbi <balbi@ti.com>
Thu, 13 Oct 2011 17:39:51 +0000 (20:39 +0300)
commit3d3ead9c22f84f814b6e96dc6e69cc5cf0941255
treef81ddf102229dde2ac37d8940dc6ba56a6de78a5
parente1b5dd01c38ed871e3ee256c3f4952b54a9144a9
USB: gadget: midi: refactor the device code

Make use of the newly added MIDI function in f_midi.c and strip down
the MIDI gadget code radically. Also use the generic framework function
to avoid code duplication and rename some symbols to bring them in sync
with other code in the gadget framework.

[ balbi@ti.com : fix Section mismatch warnings.
rebased on top of usb_speed_string() patch to
avoid conflicts. ]

Signed-off-by: Daniel Mack <zonque@gmail.com>
Cc: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/f_midi.c
drivers/usb/gadget/gmidi.c