Commit 500edc94 authored by Alan Cox's avatar Alan Cox Committed by Linus Torvalds

[PATCH] more typo fixes and dead old code removal

(Adrian Bunk, Steven Cole)
parent e7885c59
...@@ -110,7 +110,6 @@ static int memsize[] = {0, 0, 0, 0}; ...@@ -110,7 +110,6 @@ static int memsize[] = {0, 0, 0, 0};
static int altpin[] = {0, 0, 0, 0}; static int altpin[] = {0, 0, 0, 0};
static int numports[] = {0, 0, 0, 0}; static int numports[] = {0, 0, 0, 0};
# if (LINUX_VERSION_CODE > 0x020111)
MODULE_AUTHOR("Bernhard Kaindl"); MODULE_AUTHOR("Bernhard Kaindl");
MODULE_DESCRIPTION("Digiboard PC/X{i,e,eve} driver"); MODULE_DESCRIPTION("Digiboard PC/X{i,e,eve} driver");
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
...@@ -121,7 +120,6 @@ MODULE_PARM(membase, "1-4i"); ...@@ -121,7 +120,6 @@ MODULE_PARM(membase, "1-4i");
MODULE_PARM(memsize, "1-4i"); MODULE_PARM(memsize, "1-4i");
MODULE_PARM(altpin, "1-4i"); MODULE_PARM(altpin, "1-4i");
MODULE_PARM(numports, "1-4i"); MODULE_PARM(numports, "1-4i");
# endif
#endif MODULE #endif MODULE
......
...@@ -208,7 +208,7 @@ struct rio_info * p; ...@@ -208,7 +208,7 @@ struct rio_info * p;
return -ENXIO; return -ENXIO;
} }
if ( MapP->ID > MAX_RUP ) { if ( MapP->ID > MAX_RUP ) {
rio_dprintk (RIO_DEBUG_TABLE, "RIO: RTA %s has been allocated an illegal ID %d\n", rio_dprintk (RIO_DEBUG_TABLE, "RIO: RTA %s has been allocated an invalid ID %d\n",
MapP->Name, MapP->ID); MapP->Name, MapP->ID);
p->RIOError.Error = ID_NUMBER_OUT_OF_RANGE; p->RIOError.Error = ID_NUMBER_OUT_OF_RANGE;
p->RIOError.Entry = Entry; p->RIOError.Entry = Entry;
......
...@@ -3487,7 +3487,7 @@ static int mgsl_open(struct tty_struct *tty, struct file * filp) ...@@ -3487,7 +3487,7 @@ static int mgsl_open(struct tty_struct *tty, struct file * filp)
/* verify range of specified line number */ /* verify range of specified line number */
line = tty->index; line = tty->index;
if ((line < 0) || (line >= mgsl_device_count)) { if ((line < 0) || (line >= mgsl_device_count)) {
printk("%s(%d):mgsl_open with illegal line #%d.\n", printk("%s(%d):mgsl_open with invalid line #%d.\n",
__FILE__,__LINE__,line); __FILE__,__LINE__,line);
return -ENODEV; return -ENODEV;
} }
......
...@@ -729,7 +729,7 @@ static int open(struct tty_struct *tty, struct file *filp) ...@@ -729,7 +729,7 @@ static int open(struct tty_struct *tty, struct file *filp)
line = tty->index; line = tty->index;
if ((line < 0) || (line >= synclinkmp_device_count)) { if ((line < 0) || (line >= synclinkmp_device_count)) {
printk("%s(%d): open with illegal line #%d.\n", printk("%s(%d): open with invalid line #%d.\n",
__FILE__,__LINE__,line); __FILE__,__LINE__,line);
return -ENODEV; return -ENODEV;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment