Re: [PATCH] staging: comedi: correct spelling mistakes of I/O port base address

From: Greg KH
Date: Wed Dec 23 2020 - 03:08:08 EST


On Wed, Dec 23, 2020 at 10:26:23AM +0800, chensong wrote:
> "base" was double input in comment line "I/O port base
> address", remove one of them.
>
> Signed-off-by: chensong <chensong_2000@xxxxxx>
> ---
> drivers/staging/comedi/drivers/dt2815.c | 2 +-
> drivers/staging/comedi/drivers/dt2817.c | 2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/staging/comedi/drivers/dt2815.c b/drivers/staging/comedi/drivers/dt2815.c
> index 5906f32..2be2406 100644
> --- a/drivers/staging/comedi/drivers/dt2815.c
> +++ b/drivers/staging/comedi/drivers/dt2815.c
> @@ -17,7 +17,7 @@
> * contrary, please update.
> *
> * Configuration options:
> - * [0] - I/O port base base address
> + * [0] - I/O port base address
> * [1] - IRQ (unused)
> * [2] - Voltage unipolar/bipolar configuration
> * 0 == unipolar 5V (0V -- +5V)
> diff --git a/drivers/staging/comedi/drivers/dt2817.c b/drivers/staging/comedi/drivers/dt2817.c
> index 7c1463e..a173394 100644
> --- a/drivers/staging/comedi/drivers/dt2817.c
> +++ b/drivers/staging/comedi/drivers/dt2817.c
> @@ -21,7 +21,7 @@
> * with 32 channels, configurable in groups of 8.
> *
> * Configuration options:
> - * [0] - I/O port base base address
> + * [0] - I/O port base address

I think the original is correct here.

thanks,

greg k-h