mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-26 17:30:59 +07:00
[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:
parent
d9e39538ce
commit
d8d16e4744
@ -169,8 +169,7 @@ static DECLARE_MUTEX(tmp_buf_sem);
|
||||
/* baud index mappings from linux defns to isi */
|
||||
|
||||
static signed char linuxb_to_isib[] = {
|
||||
-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 11, 13, 15, 16, 17,
|
||||
18, 19
|
||||
-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 11, 13, 15, 16, 17, 18, 19
|
||||
};
|
||||
|
||||
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);
|
||||
#endif
|
||||
return -ENOIOCTLCMD;
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
@ -1373,8 +1370,8 @@ static void isicom_close(struct tty_struct * tty, struct file * filp)
|
||||
}
|
||||
|
||||
/* write et all */
|
||||
static int isicom_write(struct tty_struct * tty,
|
||||
const unsigned char * buf, int count)
|
||||
static int isicom_write(struct tty_struct *tty, const unsigned char *buf,
|
||||
int count)
|
||||
{
|
||||
struct isi_port *port = (struct isi_port *) tty->driver_data;
|
||||
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 */
|
||||
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;
|
||||
|
||||
@ -2005,7 +2003,8 @@ static int __devinit isicom_setup(void)
|
||||
break;
|
||||
|
||||
/* 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
|
||||
* space.
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user