summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Cox <alan@lxorguk.ukuu.org.uk>2003-07-31 05:15:18 -0700
committerLinus Torvalds <torvalds@home.osdl.org>2003-07-31 05:15:18 -0700
commit500edc94fceb0e33dae00100eab7535b68e8cadd (patch)
tree8ca67bd2465597cc1816cfda33ecba192cb38ab6
parente7885c59c2c8aeb6c63d347c7efddcf22f3042cd (diff)
[PATCH] more typo fixes and dead old code removal
(Adrian Bunk, Steven Cole)
-rw-r--r--drivers/char/pcxx.c2
-rw-r--r--drivers/char/rio/riotable.c2
-rw-r--r--drivers/char/synclink.c2
-rw-r--r--drivers/char/synclinkmp.c2
4 files changed, 3 insertions, 5 deletions
diff --git a/drivers/char/pcxx.c b/drivers/char/pcxx.c
index 430c3dd743e4..01a2782f29c3 100644
--- a/drivers/char/pcxx.c
+++ b/drivers/char/pcxx.c
@@ -110,7 +110,6 @@ static int memsize[] = {0, 0, 0, 0};
static int altpin[] = {0, 0, 0, 0};
static int numports[] = {0, 0, 0, 0};
-# if (LINUX_VERSION_CODE > 0x020111)
MODULE_AUTHOR("Bernhard Kaindl");
MODULE_DESCRIPTION("Digiboard PC/X{i,e,eve} driver");
MODULE_LICENSE("GPL");
@@ -121,7 +120,6 @@ MODULE_PARM(membase, "1-4i");
MODULE_PARM(memsize, "1-4i");
MODULE_PARM(altpin, "1-4i");
MODULE_PARM(numports, "1-4i");
-# endif
#endif MODULE
diff --git a/drivers/char/rio/riotable.c b/drivers/char/rio/riotable.c
index 963658c5e46a..70ccf786565e 100644
--- a/drivers/char/rio/riotable.c
+++ b/drivers/char/rio/riotable.c
@@ -208,7 +208,7 @@ struct rio_info * p;
return -ENXIO;
}
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);
p->RIOError.Error = ID_NUMBER_OUT_OF_RANGE;
p->RIOError.Entry = Entry;
diff --git a/drivers/char/synclink.c b/drivers/char/synclink.c
index ccb3804e4977..9ac8fb8bc27c 100644
--- a/drivers/char/synclink.c
+++ b/drivers/char/synclink.c
@@ -3487,7 +3487,7 @@ static int mgsl_open(struct tty_struct *tty, struct file * filp)
/* verify range of specified line number */
line = tty->index;
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);
return -ENODEV;
}
diff --git a/drivers/char/synclinkmp.c b/drivers/char/synclinkmp.c
index 46c23f3f1e68..5fa989f9c122 100644
--- a/drivers/char/synclinkmp.c
+++ b/drivers/char/synclinkmp.c
@@ -729,7 +729,7 @@ static int open(struct tty_struct *tty, struct file *filp)
line = tty->index;
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);
return -ENODEV;
}