Hi,
here is yet another series of cleanup patches for line6 drivers. This time, the extra allocation for struct usb_line6 was removed by using snd_card_new()'s allocation feature. In addition to that, a few trivial cleanups.
The test/line6 branch of sound git tree was updated with these patches, too.
Takashi
===
Takashi Iwai (3): ALSA: line6: Drop interface argument from private_init and disconnect callbacks ALSA: line6: Let snd_card_new() allocate private data ALSA: line6: Minor tidy up in line6_probe()
sound/usb/line6/driver.c | 52 ++++++++++++++++++++-------------------------- sound/usb/line6/driver.h | 8 ++++--- sound/usb/line6/pod.c | 21 +++++++------------ sound/usb/line6/podhd.c | 13 ++++-------- sound/usb/line6/toneport.c | 21 +++++++------------ sound/usb/line6/variax.c | 19 ++++++----------- 6 files changed, 54 insertions(+), 80 deletions(-)