summaryrefslogtreecommitdiffstats
path: root/drivers/parport
diff options
context:
space:
mode:
authorPaulius Zaleckas <pauliusz@yahoo.com>2008-02-03 15:42:53 +0200
committerAdrian Bunk <bunk@kernel.org>2008-02-03 15:42:53 +0200
commitefad798b9f01300565f65058b153250cc49d58f2 (patch)
treef425b1fad94ca5eb384f4df9418450afb163bcae /drivers/parport
parent0cadfc09534033e2b9694bd2d226b5dcfebd6704 (diff)
downloadlinux-efad798b9f01300565f65058b153250cc49d58f2.tar.bz2
Spelling fixes: lenght->length
Signed-off-by: Paulius Zaleckas <pauliusz@yahoo.com> Signed-off-by: Adrian Bunk <bunk@kernel.org>
Diffstat (limited to 'drivers/parport')
-rw-r--r--drivers/parport/probe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/parport/probe.c b/drivers/parport/probe.c
index 853a15f44f88..cd565bb4e1a9 100644
--- a/drivers/parport/probe.c
+++ b/drivers/parport/probe.c
@@ -163,7 +163,7 @@ static ssize_t parport_read_device_id (struct parport *port, char *buffer,
idlens[1] = idlens[0]+2;
if (belen != lelen) {
int off = 2;
- /* Don't try lenghts of 0x100 and 0x200 as 1 and 2 */
+ /* Don't try lengths of 0x100 and 0x200 as 1 and 2 */
if (idlens[0] <= 2)
off = 0;
idlens[off] = max(belen, lelen);