summaryrefslogtreecommitdiff
path: root/sound/pci/trident/trident.h
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2015-01-02 11:24:54 (GMT)
committerTakashi Iwai <tiwai@suse.de>2015-01-02 15:34:06 (GMT)
commit1b16416fda21a8c5704bce809e0d7387bbfb097d (patch)
treee63e0ef7a43624b8bd056ac066c710b289199891 /sound/pci/trident/trident.h
parent0f33991dd2811cb5458b1a2bc19c6aa6ff64c00b (diff)
downloadlinux-1b16416fda21a8c5704bce809e0d7387bbfb097d.tar.xz
ALSA: trident: Remove always NULL parameters
The various PCM allocation functions in this driver take a pointer to a pointer of a PCM where if this parameter is provided the newly allocated PCM is stored. All callers pass NULL though, so remove the parameter. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/trident/trident.h')
-rw-r--r--sound/pci/trident/trident.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sound/pci/trident/trident.h b/sound/pci/trident/trident.h
index 5f110eb..9624e59 100644
--- a/sound/pci/trident/trident.h
+++ b/sound/pci/trident/trident.h
@@ -420,9 +420,9 @@ int snd_trident_create(struct snd_card *card,
struct snd_trident ** rtrident);
int snd_trident_create_gameport(struct snd_trident *trident);
-int snd_trident_pcm(struct snd_trident * trident, int device, struct snd_pcm **rpcm);
-int snd_trident_foldback_pcm(struct snd_trident * trident, int device, struct snd_pcm **rpcm);
-int snd_trident_spdif_pcm(struct snd_trident * trident, int device, struct snd_pcm **rpcm);
+int snd_trident_pcm(struct snd_trident *trident, int device);
+int snd_trident_foldback_pcm(struct snd_trident *trident, int device);
+int snd_trident_spdif_pcm(struct snd_trident *trident, int device);
int snd_trident_attach_synthesizer(struct snd_trident * trident);
struct snd_trident_voice *snd_trident_alloc_voice(struct snd_trident * trident, int type,
int client, int port);