From: Joachim Foerster Date: Mon, 17 Mar 2008 07:40:12 +0000 (+0100) Subject: [ALSA] [ML403-AC97CR] Remove duplicate snd_card_set_dev() X-Git-Tag: v2.6.26-rc1~1087^2~124 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=5949d2443d96f054d9a32d31edddb0be836968c6;p=linux-2.6-omap-h63xx.git [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 Signed-off-by: Takashi Iwai --- 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; }