Re: [PATCH 05/25] Documentation: serial_core.c: uart_get_rs485_mode: Fix sphinx warnings

From: Randy Dunlap
Date: Fri Jul 17 2020 - 15:35:41 EST


On 7/17/20 11:56 AM, Daniel W. S. Almeida wrote:
> From: "Daniel W. S. Almeida" <dwlsalmeida@xxxxxxxxx>
>
> Fix the following warnings:
>
> warning: Excess function parameter 'dev' description in
> 'uart_get_rs485_mode'
>
> warning: Excess function parameter 'rs485conf' description in
> 'uart_get_rs485_mode'
>
> Signed-off-by: Daniel W. S. Almeida <dwlsalmeida@xxxxxxxxx>

I have already fixed this one and it has been merged.

> ---
> drivers/tty/serial/serial_core.c | 2 --
> 1 file changed, 2 deletions(-)
>
> diff --git a/drivers/tty/serial/serial_core.c b/drivers/tty/serial/serial_core.c
> index 57840cf903881..97df0c0e30e9b 100644
> --- a/drivers/tty/serial/serial_core.c
> +++ b/drivers/tty/serial/serial_core.c
> @@ -3289,8 +3289,6 @@ EXPORT_SYMBOL(uart_remove_one_port);
>
> /**
> * uart_get_rs485_mode() - retrieve rs485 properties for given uart
> - * @dev: uart device
> - * @rs485conf: output parameter
> *
> * This function implements the device tree binding described in
> * Documentation/devicetree/bindings/serial/rs485.txt.
>


--
~Randy
Reported-by: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>