From d2e28da06bd601c99bd009c5974c81659018602d Mon Sep 17 00:00:00 2001 From: Daniel Leung Date: Thu, 6 Jan 2022 17:29:08 -0800 Subject: [PATCH] audio: remove @return doc for void functions For functions returning nothing, there is no need to document with @return, as Doxgen complains about "documented empty return type of ...". Signed-off-by: Daniel Leung --- include/audio/codec.h | 4 ---- include/audio/dmic.h | 2 -- 2 files changed, 6 deletions(-) diff --git a/include/audio/codec.h b/include/audio/codec.h index 677da302e8b..f3ef035072f 100644 --- a/include/audio/codec.h +++ b/include/audio/codec.h @@ -156,8 +156,6 @@ static inline int audio_codec_configure(const struct device *dev, * Setup the audio codec device to start the audio playback * * @param dev Pointer to the device structure for codec driver instance. - * - * @return none */ static inline void audio_codec_start_output(const struct device *dev) { @@ -173,8 +171,6 @@ static inline void audio_codec_start_output(const struct device *dev) * Setup the audio codec device to stop the audio playback * * @param dev Pointer to the device structure for codec driver instance. - * - * @return none */ static inline void audio_codec_stop_output(const struct device *dev) { diff --git a/include/audio/dmic.h b/include/audio/dmic.h index d80ae43405d..9c173b06c9b 100644 --- a/include/audio/dmic.h +++ b/include/audio/dmic.h @@ -203,8 +203,6 @@ static inline uint32_t dmic_build_channel_map(uint8_t channel, uint8_t pdm, * @param channel The logical channel number * @param pdm Pointer to the PDM hardware controller number * @param lr Pointer to the LEFT/RIGHT channel within the PDM controller - * - * @return none */ static inline void dmic_parse_channel_map(uint32_t channel_map_lo, uint32_t channel_map_hi, uint8_t channel, uint8_t *pdm, enum pdm_lr *lr)