diff options
author | Takashi Iwai <tiwai@suse.de> | 2019-11-07 20:20:07 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2019-11-08 14:52:43 +0100 |
commit | 33bbb8a0ecd142fb5e78f26f3a0b927ae77c30e7 (patch) | |
tree | 75e45cb3255978491f7b8685cfcbc794a4edbe13 /include/sound | |
parent | ebfc6de29ae8e48f91e280fd37539188b5252b38 (diff) | |
download | linux-33bbb8a0ecd142fb5e78f26f3a0b927ae77c30e7.tar.bz2 |
ALSA: timer: Make snd_timer_close() returning void
The function doesn't return any useful value, so let's make it void to
be clearer.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://lore.kernel.org/r/20191107192008.32331-3-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'include/sound')
-rw-r--r-- | include/sound/timer.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sound/timer.h b/include/sound/timer.h index 199c36295a0d..8a13c09c85f7 100644 --- a/include/sound/timer.h +++ b/include/sound/timer.h @@ -119,7 +119,7 @@ int snd_timer_global_free(struct snd_timer *timer); int snd_timer_global_register(struct snd_timer *timer); int snd_timer_open(struct snd_timer_instance **ti, char *owner, struct snd_timer_id *tid, unsigned int slave_id); -int snd_timer_close(struct snd_timer_instance *timeri); +void snd_timer_close(struct snd_timer_instance *timeri); unsigned long snd_timer_resolution(struct snd_timer_instance *timeri); int snd_timer_start(struct snd_timer_instance *timeri, unsigned int ticks); int snd_timer_stop(struct snd_timer_instance *timeri); |