ALSA: line6: Drop superfluous snd_device for rawmidi
authorTakashi Iwai <tiwai@suse.de>
Mon, 19 Jan 2015 13:50:31 +0000 (14:50 +0100)
committerTakashi Iwai <tiwai@suse.de>
Tue, 20 Jan 2015 07:15:02 +0000 (08:15 +0100)
commitaaa68d2f295147a7b648bbab632557c7429fb8cd
treec4495febad427c142bd9467a002fdc09605964cb
parentb45a7c565473d29bd7e02ac8ca86232a24ca247f
ALSA: line6: Drop superfluous snd_device for rawmidi

Like the previous fix for PCM, attach the card-specific resource into
rawmidi->private_data instead of handling in a snd_device object.
This simplifies the code and structure.

Tested-by: Chris Rorvick <chris@rorvick.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/line6/midi.c