ALSA: line6: Drop interface argument from private_init and disconnect callbacks
authorTakashi Iwai <tiwai@suse.de>
Sun, 25 Jan 2015 17:22:58 +0000 (18:22 +0100)
committerTakashi Iwai <tiwai@suse.de>
Wed, 28 Jan 2015 06:21:59 +0000 (07:21 +0100)
commitf66fd990c5db177d6b9f0eae301ca6b15882eb2e
treee583afc51d0962a9f803adfe40e77ff6adefc690
parent62a109d9e2ce948ee75222bbb92a97669f683875
ALSA: line6: Drop interface argument from private_init and disconnect callbacks

The interface argument is used just for retrieving the assigned
device, which can be already found in line6->ifcdev.  Drop them from
the callbacks.  Also, pass the usb id to private_init so that the
driver can deal with it there.  This is a preliminary work for the
further cleanup to move the whole allocation into driver.c.

Tested-by: Chris Rorvick <chris@rorvick.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/line6/driver.c
sound/usb/line6/driver.h
sound/usb/line6/pod.c
sound/usb/line6/podhd.c
sound/usb/line6/toneport.c
sound/usb/line6/variax.c