diff options
author | Takashi Iwai <tiwai@suse.de> | 2014-01-29 14:41:09 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2014-02-14 08:14:07 +0100 |
commit | a2fefc35a99f684b4ba15d243995170fa23bdd7e (patch) | |
tree | a9d3cf0de672a70b06f49e9f99b43988508972f0 /sound/sparc/amd7930.c | |
parent | ALSA: sh: Convert to snd_card_new() with a device pointer (diff) | |
download | linux-a2fefc35a99f684b4ba15d243995170fa23bdd7e.tar.xz linux-a2fefc35a99f684b4ba15d243995170fa23bdd7e.zip |
ALSA: sparc: Convert to snd_card_new() with a device pointer
Also remove superfluous snd_card_set_dev() calls.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/sparc/amd7930.c')
-rw-r--r-- | sound/sparc/amd7930.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/sparc/amd7930.c b/sound/sparc/amd7930.c index 174d21fb56e2..4a85e1433472 100644 --- a/sound/sparc/amd7930.c +++ b/sound/sparc/amd7930.c @@ -1019,8 +1019,8 @@ static int amd7930_sbus_probe(struct platform_device *op) return -ENOENT; } - err = snd_card_create(index[dev_num], id[dev_num], THIS_MODULE, 0, - &card); + err = snd_card_new(&op->dev, index[dev_num], id[dev_num], + THIS_MODULE, 0, &card); if (err < 0) return err; |