From: Takashi Iwai Date: Sun, 25 Jan 2015 17:22:58 +0000 (+0100) Subject: ALSA: line6: Drop interface argument from private_init and disconnect callbacks X-Git-Tag: fixes-v4.0-rc1~146^2~35^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f66fd990c5db177d6b9f0eae301ca6b15882eb2e;p=pandora-kernel.git 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 Signed-off-by: Takashi Iwai --- Reading git-diff-tree failed