mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
ALSA: emu10k1: Remove always NULL parameters
The various PCM and hwdep allocation functions in this driver take a pointer to a pointer of a PCM/hwdep where if this parameter is provided the newly allocated object is stored. All callers pass NULL though, so remove the parameter. Signed-off-by: Lars-Peter Clausen <[email protected]> Signed-off-by: Takashi Iwai <[email protected]>
This commit is contained in:
parent
50b8d94e18
commit
bb814c396a
6 changed files with 24 additions and 68 deletions
|
|
@ -1809,17 +1809,17 @@ int snd_emu10k1_create(struct snd_card *card,
|
|||
uint subsystem,
|
||||
struct snd_emu10k1 ** remu);
|
||||
|
||||
int snd_emu10k1_pcm(struct snd_emu10k1 * emu, int device, struct snd_pcm ** rpcm);
|
||||
int snd_emu10k1_pcm_mic(struct snd_emu10k1 * emu, int device, struct snd_pcm ** rpcm);
|
||||
int snd_emu10k1_pcm_efx(struct snd_emu10k1 * emu, int device, struct snd_pcm ** rpcm);
|
||||
int snd_p16v_pcm(struct snd_emu10k1 * emu, int device, struct snd_pcm ** rpcm);
|
||||
int snd_emu10k1_pcm(struct snd_emu10k1 *emu, int device);
|
||||
int snd_emu10k1_pcm_mic(struct snd_emu10k1 *emu, int device);
|
||||
int snd_emu10k1_pcm_efx(struct snd_emu10k1 *emu, int device);
|
||||
int snd_p16v_pcm(struct snd_emu10k1 *emu, int device);
|
||||
int snd_p16v_free(struct snd_emu10k1 * emu);
|
||||
int snd_p16v_mixer(struct snd_emu10k1 * emu);
|
||||
int snd_emu10k1_pcm_multi(struct snd_emu10k1 * emu, int device, struct snd_pcm ** rpcm);
|
||||
int snd_emu10k1_fx8010_pcm(struct snd_emu10k1 * emu, int device, struct snd_pcm ** rpcm);
|
||||
int snd_emu10k1_pcm_multi(struct snd_emu10k1 *emu, int device);
|
||||
int snd_emu10k1_fx8010_pcm(struct snd_emu10k1 *emu, int device);
|
||||
int snd_emu10k1_mixer(struct snd_emu10k1 * emu, int pcm_device, int multi_device);
|
||||
int snd_emu10k1_timer(struct snd_emu10k1 * emu, int device);
|
||||
int snd_emu10k1_fx8010_new(struct snd_emu10k1 *emu, int device, struct snd_hwdep ** rhwdep);
|
||||
int snd_emu10k1_fx8010_new(struct snd_emu10k1 *emu, int device);
|
||||
|
||||
irqreturn_t snd_emu10k1_interrupt(int irq, void *dev_id);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue