2020-12-23 02:30:23

by Song Chen

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

"base" was double input in comment line "I/O port base
address", remove one of them.

Signed-off-by: chensong <[email protected]>
---
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
*/

#include <linux/module.h>
--
2.7.4


2020-12-23 08:10:04

by Greg KH

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

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 <[email protected]>
> ---
> 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