aboutsummaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorJoachim Foerster <JOFT@gmx.de>2008-03-17 08:40:12 +0100
committerTakashi Iwai <tiwai@suse.de>2008-04-24 12:00:25 +0200
commit5949d2443d96f054d9a32d31edddb0be836968c6 (patch)
tree2d331956505665cdc8e5ddd2de405da8d527b270 /sound
parentc93f5a1eca1f6d662d791c14c469b6962e05a08f (diff)
[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')
-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 05a871aa7b8..b654007331d 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;
}