lkml.org 
[lkml]   [2020]   [Jul]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 05/25] Documentation: serial_core.c: uart_get_rs485_mode: Fix sphinx warnings
    Date
    From: "Daniel W. S. Almeida" <dwlsalmeida@gmail.com>

    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@gmail.com>
    ---
    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.
    --
    2.27.0
    \
     
     \ /
      Last update: 2020-07-17 20:58    [W:4.160 / U:0.320 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site