]> err.no Git - linux-2.6/commitdiff
[ALSA] [ML403-AC97CR] Remove duplicate snd_card_set_dev()
authorJoachim Foerster <JOFT@gmx.de>
Mon, 17 Mar 2008 07:40:12 +0000 (08:40 +0100)
committerTakashi Iwai <tiwai@suse.de>
Thu, 24 Apr 2008 10:00:25 +0000 (12:00 +0200)
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 05a871aa7b818fd45eed66d40ef396a5075eccc7..b654007331de45e02ea5def967b4eda4270b2e3c 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;
 }