summaryrefslogtreecommitdiffstats
path: root/drivers/staging/ced1401/ced_ioc.c
diff options
context:
space:
mode:
authorMasanari Iida <standby24x7@gmail.com>2012-11-23 00:47:54 +0900
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-11-26 16:21:58 -0800
commitb1a21ee9deb2492cbff38943dd6fa502161319a6 (patch)
treed2a241d2167a94da21a0d8300b49e06f8c9f8f9d /drivers/staging/ced1401/ced_ioc.c
parentd0cdf020ed306ac2c9a6ecb2e41120599c751fbf (diff)
downloadop-kernel-dev-b1a21ee9deb2492cbff38943dd6fa502161319a6.zip
op-kernel-dev-b1a21ee9deb2492cbff38943dd6fa502161319a6.tar.gz
staging: ced1401: Fix typo in staging/ced1401
Correct spelling typo in comments within staging/ced1401 Signed-off-by: Masanari Iida <standby24x7@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/ced1401/ced_ioc.c')
-rw-r--r--drivers/staging/ced1401/ced_ioc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/ced1401/ced_ioc.c b/drivers/staging/ced1401/ced_ioc.c
index efe6aec..d043471 100644
--- a/drivers/staging/ced1401/ced_ioc.c
+++ b/drivers/staging/ced1401/ced_ioc.c
@@ -341,7 +341,7 @@ bool Is1401(DEVICE_EXTENSION * pdx)
}
if (iReturn == 0) // if all is OK...
- iReturn = state == 0; // then sucess is that the state is 0
+ iReturn = state == 0; // then success is that the state is 0
} else
iReturn = 0; // we failed
pdx->bForceReset = false; // Clear forced reset flag now
@@ -565,7 +565,7 @@ int LineCount(DEVICE_EXTENSION * pdx)
if (dwIndex >= INBUF_SZ) // see if we fall off buff
dwIndex = 0;
}
- while (dwIndex != dwEnd); // go to last avaliable
+ while (dwIndex != dwEnd); // go to last available
}
spin_unlock_irq(&pdx->charInLock);
OpenPOWER on IntegriCloud