aboutsummaryrefslogtreecommitdiffstats
path: root/sound/drivers
diff options
context:
space:
mode:
authorJoachim Foerster <JOFT@gmx.de>2008-03-17 03:40:12 -0400
committerTakashi Iwai <tiwai@suse.de>2008-04-24 06:00:25 -0400
commit5949d2443d96f054d9a32d31edddb0be836968c6 (patch)
tree2d331956505665cdc8e5ddd2de405da8d527b270 /sound/drivers
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/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,
1191 return err; 1191 return err;
1192 } 1192 }
1193 1193
1194 snd_card_set_dev(card, &pfdev->dev);
1195
1196 *rml403_ac97cr = ml403_ac97cr; 1194 *rml403_ac97cr = ml403_ac97cr;
1197 return 0; 1195 return 0;
1198} 1196}