summaryrefslogtreecommitdiff
path: root/drivers/staging/line6/midi.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2014-01-29 15:02:40 +0100
committerTakashi Iwai <tiwai@suse.de>2014-02-14 08:14:10 +0100
commitb029a94056e748b39cdf2062c70baf1bac70781e (patch)
tree913c2c12ce486e9e5fcc5020aa12803bc61b8af0 /drivers/staging/line6/midi.c
parent89235e5574b756a2394a6a5ae14c6db453a57bd5 (diff)
staging/line6: Convert to snd_card_new() with a device pointer
Also remove superfluous snd_card_set_dev() calls. Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'drivers/staging/line6/midi.c')
-rw-r--r--drivers/staging/line6/midi.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/staging/line6/midi.c b/drivers/staging/line6/midi.c
index 3f6d78c585fb..c61cd0515baf 100644
--- a/drivers/staging/line6/midi.c
+++ b/drivers/staging/line6/midi.c
@@ -307,8 +307,6 @@ int line6_init_midi(struct usb_line6 *line6)
if (err < 0)
return err;
- snd_card_set_dev(line6->card, line6->ifcdev);
-
err = snd_line6_new_midi(line6midi);
if (err < 0)
return err;