From: Daniel Mack Date: Wed, 28 Sep 2011 14:41:33 +0000 (+0200) Subject: USB: gadget: midi: refactor the device code X-Git-Tag: v3.2-rc1~183^2~80 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2672eea5a38b35e6d28f851e990e110e217271eb;p=pandora-kernel.git 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 Cc: Greg Kroah-Hartman Signed-off-by: Felipe Balbi --- Reading git-diff-tree failed