[PATCH] char/isicom: Whitespace cleanup

Trailing spaces and tabs and space used for indentation deleted.  Indented
content of structures.  Switch/case indent.

Signed-off-by: Jiri Slaby <xslaby@fi.muni.cz>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
Jiri Slaby 2006-01-09 20:54:21 -08:00 committed by Linus Torvalds
parent d9e39538ce
commit d8d16e4744

View file

@ -169,8 +169,7 @@ static DECLARE_MUTEX(tmp_buf_sem);
/* baud index mappings from linux defns to isi */ /* baud index mappings from linux defns to isi */
static signed char linuxb_to_isib[] = { static signed char linuxb_to_isib[] = {
-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 11, 13, 15, 16, 17, -1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 11, 13, 15, 16, 17, 18, 19
18, 19
}; };
struct isi_board { struct isi_board {
@ -594,9 +593,7 @@ static int ISILoad_ioctl(struct inode *inode, struct file *filp,
printk(KERN_DEBUG "ISILoad: Received Ioctl cmd 0x%x.\n", cmd); printk(KERN_DEBUG "ISILoad: Received Ioctl cmd 0x%x.\n", cmd);
#endif #endif
return -ENOIOCTLCMD; return -ENOIOCTLCMD;
} }
} }
@ -1373,8 +1370,8 @@ static void isicom_close(struct tty_struct * tty, struct file * filp)
} }
/* write et all */ /* write et all */
static int isicom_write(struct tty_struct * tty, static int isicom_write(struct tty_struct *tty, const unsigned char *buf,
const unsigned char * buf, int count) int count)
{ {
struct isi_port *port = (struct isi_port *) tty->driver_data; struct isi_port *port = (struct isi_port *) tty->driver_data;
struct isi_board *card = port->card; struct isi_board *card = port->card;
@ -1632,7 +1629,8 @@ static int isicom_ioctl(struct tty_struct * tty, struct file * filp,
} }
/* set_termios et all */ /* set_termios et all */
static void isicom_set_termios(struct tty_struct * tty, struct termios * old_termios) static void isicom_set_termios(struct tty_struct *tty,
struct termios *old_termios)
{ {
struct isi_port *port = (struct isi_port *) tty->driver_data; struct isi_port *port = (struct isi_port *) tty->driver_data;
@ -2005,7 +2003,8 @@ static int __devinit isicom_setup(void)
break; break;
/* found a PCI ISI card! */ /* found a PCI ISI card! */
ioaddr = pci_resource_start (dev, 3); /* i.e at offset 0x1c in the ioaddr = pci_resource_start (dev, 3);
/* i.e at offset 0x1c in the
* PCI configuration register * PCI configuration register
* space. * space.
*/ */