[ALSA] [ML403-AC97CR] Remove duplicate snd_card_set_dev()
Joachim Foerster [Mon, 17 Mar 2008 07:40:12 +0000 (08:40 +0100)]
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>

sound/drivers/ml403-ac97cr.c

index 05a871a..b654007 100644 (file)
@@ -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;
 }