Spelling fixes: lenght->length

Signed-off-by: Paulius Zaleckas <pauliusz@yahoo.com>
Signed-off-by: Adrian Bunk <bunk@kernel.org>
This commit is contained in:
Paulius Zaleckas
2008-02-03 15:42:53 +02:00
committed by Adrian Bunk
parent 0cadfc0953
commit efad798b9f
25 changed files with 30 additions and 30 deletions
+1 -1
View File
@@ -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);