Re: [PATCH] staging: comedi: Fix typo in staging/comedi

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



[Originally posted 2013-06-24.  Reposting to new driverdev-devel list.]

On 2013-06-23 16:09, Masanari Iida wrote:
Correct spelling typo in printk and comment
within staging/comedi.

Singed-off-by: Masanari Iida <standby24x7@xxxxxxxxx>
---
  drivers/staging/comedi/drivers/addi-data/APCI1710_Tor.c | 8 ++++----
  drivers/staging/comedi/drivers/addi-data/addi_common.h  | 2 +-
  2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/drivers/staging/comedi/drivers/addi-data/APCI1710_Tor.c b/drivers/staging/comedi/drivers/addi-data/APCI1710_Tor.c
index 0b79531..8ca3d09 100644
--- a/drivers/staging/comedi/drivers/addi-data/APCI1710_Tor.c
+++ b/drivers/staging/comedi/drivers/addi-data/APCI1710_Tor.c
@@ -128,9 +128,9 @@ This program is distributed in the hope that it will be useful, but WITHOUT ANY
  |                     -5: The selected PCI input clock is wrong              |
  |                     -6: Timing unit selection is wrong                     |
  |                     -7: Base timing selection is wrong                     |
-|                     -8: You can not used the 40MHz clock selection wich    |
+|                     -8: You can not used the 40MHz clock selection with    |
  |                         this board                                         |
-|                     -9: You can not used the 40MHz clock selection wich    |
+|                     -9: You can not used the 40MHz clock selection with    |
  |                         this TOR version                                   |
  +----------------------------------------------------------------------------+
  */
@@ -807,10 +807,10 @@ static int i_APCI1710_InsnConfigInitTorCounter(struct comedi_device *dev,
  								}
  							} else {
  			     /**************************************************************/
-								/* You can not used the 40MHz clock selection wich this board */
+								/* You can not used the 40MHz clock selection with this board */
  			     /**************************************************************/

-								DPRINTK("You can not used the 40MHz clock selection wich this board\n");
+								DPRINTK("You can not used the 40MHz clock selection with this board\n");
  								i_ReturnValue =
  									-8;
  							}

You could fix the grammatical error at the same time. The past tense "used" should be replaced with the present tense "use" in order to make sense. Also, the contraction "cannot" is much more common than "can not". E.g.: "You cannot use X with Y."

--
-=( Ian Abbott @ MEV Ltd.    E-mail: <abbotti@xxxxxxxxx>        )=-
-=( Tel: +44 (0)161 477 1898   FAX: +44 (0)161 718 3587         )=-
_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel




[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux