lkml.org 
[lkml]   [2020]   [Jun]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 03/10] regulator: of_regulator: Add missing colon for rdev kerneldoc argument
    Date
    Kerneldoc validation gets confused if syntax isn't "@.*: ".

    Adding the missing colons squashes the following W=1 warnings:

    Signed-off-by: Lee Jones <lee.jones@linaro.org>
    ---
    drivers/regulator/of_regulator.c | 2 +-
    1 file changed, 1 insertion(+), 1 deletion(-)

    diff --git a/drivers/regulator/of_regulator.c b/drivers/regulator/of_regulator.c
    index 87637eb6bcbcb..292e68c818ea1 100644
    --- a/drivers/regulator/of_regulator.c
    +++ b/drivers/regulator/of_regulator.c
    @@ -532,7 +532,7 @@ static bool of_coupling_find_node(struct device_node *src,
    /**
    * of_check_coupling_data - Parse rdev's coupling properties and check data
    * consistency
    - * @rdev - pointer to regulator_dev whose data is checked
    + * @rdev: - pointer to regulator_dev whose data is checked
    *
    * Function checks if all the following conditions are met:
    * - rdev's max_spread is greater than 0
    --
    2.25.1
    \
     
     \ /
      Last update: 2020-06-25 18:37    [W:2.284 / U:1.248 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site