drivers: serial: 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 <daniel.leung@intel.com>
This commit is contained in:
Daniel Leung 2022-01-06 16:43:40 -08:00 committed by Anas Nashif
commit bff37a3a6c
14 changed files with 3 additions and 120 deletions

View file

@ -890,8 +890,6 @@ static int uart_xlnx_ps_fifo_read(const struct device *dev, uint8_t *rx_data,
* @brief Enable TX interrupt in IER
*
* @param dev UART device struct
*
* @return N/A
*/
static void uart_xlnx_ps_irq_tx_enable(const struct device *dev)
{
@ -908,8 +906,6 @@ static void uart_xlnx_ps_irq_tx_enable(const struct device *dev)
* @brief Disable TX interrupt in IER
*
* @param dev UART device struct
*
* @return N/A
*/
static void uart_xlnx_ps_irq_tx_disable(const struct device *dev)
{
@ -968,8 +964,6 @@ static int uart_xlnx_ps_irq_tx_complete(const struct device *dev)
* @brief Enable RX interrupt in IER
*
* @param dev UART device struct
*
* @return N/A
*/
static void uart_xlnx_ps_irq_rx_enable(const struct device *dev)
{
@ -984,8 +978,6 @@ static void uart_xlnx_ps_irq_rx_enable(const struct device *dev)
* @brief Disable RX interrupt in IER
*
* @param dev UART device struct
*
* @return N/A
*/
static void uart_xlnx_ps_irq_rx_disable(const struct device *dev)
{
@ -1021,8 +1013,6 @@ static int uart_xlnx_ps_irq_rx_ready(const struct device *dev)
* @brief Enable error interrupt in IER
*
* @param dev UART device struct
*
* @return N/A
*/
static void uart_xlnx_ps_irq_err_enable(const struct device *dev)
{
@ -1104,8 +1094,6 @@ static int uart_xlnx_ps_irq_update(const struct device *dev)
*
* @param dev UART device struct
* @param cb Callback function pointer.
*
* @return N/A
*/
static void uart_xlnx_ps_irq_callback_set(const struct device *dev,
uart_irq_callback_user_data_t cb,
@ -1123,8 +1111,6 @@ static void uart_xlnx_ps_irq_callback_set(const struct device *dev,
* This simply calls the callback function, if one exists.
*
* @param arg Argument to ISR.
*
* @return N/A
*/
static void uart_xlnx_ps_isr(const struct device *dev)
{