projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bee1bb1
)
ALSA: parisc: Convert to snd_card_new() with a device pointer
author
Takashi Iwai
<tiwai@suse.de>
Wed, 29 Jan 2014 13:35:40 +0000
(14:35 +0100)
committer
Takashi Iwai
<tiwai@suse.de>
Fri, 14 Feb 2014 07:14:05 +0000
(08:14 +0100)
Also remove superfluous snd_card_set_dev() calls.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/parisc/harmony.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/parisc/harmony.c
b/sound/parisc/harmony.c
index 67f56a2cee6aec83bd4710f645a82cdca9e39847..4b20be79c1ddbb58b2712a03db08227afd5a12ef 100644
(file)
--- a/
sound/parisc/harmony.c
+++ b/
sound/parisc/harmony.c
@@
-959,8
+959,6
@@
snd_harmony_create(struct snd_card *card,
goto free_and_ret;
}
- snd_card_set_dev(card, &padev->dev);
-
*rchip = h;
return 0;
@@
-977,7
+975,7
@@
snd_harmony_probe(struct parisc_device *padev)
struct snd_card *card;
struct snd_harmony *h;
- err = snd_card_
create(
index, id, THIS_MODULE, 0, &card);
+ err = snd_card_
new(&padev->dev,
index, id, THIS_MODULE, 0, &card);
if (err < 0)
return err;