Re: [Outreachy kernel] [PATCH] staging: iio: cdc: remove repeated word

From: Vaishali Thakkar
Date: Mon Apr 05 2021 - 08:32:19 EST


On Mon, Apr 5, 2021 at 12:24 AM David Villasana Jiménez
<davidvillasana14@xxxxxxxxx> wrote:
>
> Fix checkpatch warning:
> WARNING: Possible repeated word: 'from'

You don't need to include the checkpatch warning in the commit log.
Your commit log should just be able to give enough information about
why you're doing this change. Then you can give credit to the tool by
adding a line like this: 'Issue found by checkpatch.pl'.

> Signed-off-by: David Villasana Jiménez <davidvillasana14@xxxxxxxxx>
> ---
> drivers/staging/iio/cdc/ad7150.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/staging/iio/cdc/ad7150.c b/drivers/staging/iio/cdc/ad7150.c
> index 48132ab157ef..1be214512ff8 100644
> --- a/drivers/staging/iio/cdc/ad7150.c
> +++ b/drivers/staging/iio/cdc/ad7150.c
> @@ -57,7 +57,7 @@
> * @threshold: thresholds for simple capacitance value events
> * @thresh_sensitivity: threshold for simple capacitance offset
> * from 'average' value.
> - * @mag_sensitity: threshold for magnitude of capacitance offset from
> + * @mag_sensitity: threshold for magnitude of capacitance offset
> * from 'average' value.
> * @thresh_timeout: a timeout, in samples from the moment an
> * adaptive threshold event occurs to when the average
> --
> 2.30.2
>
> --
> You received this message because you are subscribed to the Google Groups "outreachy-kernel" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to outreachy-kernel+unsubscribe@xxxxxxxxxxxxxxxx.
> To view this discussion on the web visit https://groups.google.com/d/msgid/outreachy-kernel/YGo8q4R5dqgtDMlg%40fedora.



--
Vaishali