ALSA: line6: Let snd_card_new() allocate private data
authorTakashi Iwai <tiwai@suse.de>
Sun, 25 Jan 2015 17:36:29 +0000 (18:36 +0100)
committerTakashi Iwai <tiwai@suse.de>
Wed, 28 Jan 2015 06:22:07 +0000 (07:22 +0100)
Instead of allocating the private data individually in each driver's
probe at first, let snd_card_new() allocate the data that is called in
line6_probe().  This simplifies the primary probe functions.

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

Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge