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 11/30] iio: adc: ad799x: Demote seemingly unintentional kerneldoc header
    Date
    This is the only use of function related kerneldoc in the sourcefile
    and no descriptions are provided.

    Fixes the following W=1 kernel build warning(s):

    drivers/iio/adc/ad799x.c:192: warning: Function parameter or member 'irq' not described in 'ad799x_trigger_handler'
    drivers/iio/adc/ad799x.c:192: warning: Function parameter or member 'p' not described in 'ad799x_trigger_handler'

    Cc: Michael Hennerich <Michael.Hennerich@analog.com>
    Signed-off-by: Lee Jones <lee.jones@linaro.org>
    ---
    drivers/iio/adc/ad799x.c | 2 +-
    1 file changed, 1 insertion(+), 1 deletion(-)

    diff --git a/drivers/iio/adc/ad799x.c b/drivers/iio/adc/ad799x.c
    index ef013af1aec07..007ec7ad94752 100644
    --- a/drivers/iio/adc/ad799x.c
    +++ b/drivers/iio/adc/ad799x.c
    @@ -182,7 +182,7 @@ static int ad799x_update_config(struct ad799x_state *st, u16 config)
    return 0;
    }

    -/**
    +/*
    * ad799x_trigger_handler() bh of trigger launched polling to ring buffer
    *
    * Currently there is no option in this driver to disable the saving of
    --
    2.25.1
    \
     
     \ /
      Last update: 2020-07-17 18:57    [W:2.793 / U:0.536 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site