summaryrefslogtreecommitdiff
path: root/sound/drivers
diff options
context:
space:
mode:
authorJoachim Foerster <JOFT@gmx.de>2008-03-17 10:40:12 +0300
committerTakashi Iwai <tiwai@suse.de>2008-04-24 14:00:25 +0400
commit5949d2443d96f054d9a32d31edddb0be836968c6 (patch)
tree2d331956505665cdc8e5ddd2de405da8d527b270 /sound/drivers
parentc93f5a1eca1f6d662d791c14c469b6962e05a08f (diff)
downloadlinux-5949d2443d96f054d9a32d31edddb0be836968c6.tar.xz
[ALSA] [ML403-AC97CR] Remove duplicate snd_card_set_dev()
We want to have snd_card_set_dev() in _probe(), but not a second one in snd_ml403_ac97cr_create(). Signed-off-by: Joachim Foerster <JOFT@gmx.de> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/drivers')
-rw-r--r--sound/drivers/ml403-ac97cr.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sound/drivers/ml403-ac97cr.c b/sound/drivers/ml403-ac97cr.c
index 05a871aa7b81..b654007331de 100644
--- a/sound/drivers/ml403-ac97cr.c
+++ b/sound/drivers/ml403-ac97cr.c
@@ -1191,8 +1191,6 @@ snd_ml403_ac97cr_create(struct snd_card *card, struct platform_device *pfdev,
return err;
}
- snd_card_set_dev(card, &pfdev->dev);
-
*rml403_ac97cr = ml403_ac97cr;
return 0;
}