Commit fd8c5972 authored by Ralf Baechle's avatar Ralf Baechle Committed by Russell King

[SERIAL] dz: Nuke trailing whitespace

Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent 5c8c755c
/* /*
* dz.c: Serial port driver for DECStations equiped * dz.c: Serial port driver for DECStations equiped
* with the DZ chipset. * with the DZ chipset.
* *
* Copyright (C) 1998 Olivier A. D. Lebaillif * Copyright (C) 1998 Olivier A. D. Lebaillif
* *
* Email: olivier.lebaillif@ifrsys.com * Email: olivier.lebaillif@ifrsys.com
* *
* [31-AUG-98] triemer * [31-AUG-98] triemer
...@@ -11,14 +11,14 @@ ...@@ -11,14 +11,14 @@
* removed base_addr code - moving address assignment to setup.c * removed base_addr code - moving address assignment to setup.c
* Changed name of dz_init to rs_init to be consistent with tc code * Changed name of dz_init to rs_init to be consistent with tc code
* [13-NOV-98] triemer fixed code to receive characters * [13-NOV-98] triemer fixed code to receive characters
* after patches by harald to irq code. * after patches by harald to irq code.
* [09-JAN-99] triemer minor fix for schedule - due to removal of timeout * [09-JAN-99] triemer minor fix for schedule - due to removal of timeout
* field from "current" - somewhere between 2.1.121 and 2.1.131 * field from "current" - somewhere between 2.1.121 and 2.1.131
Qua Jun 27 15:02:26 BRT 2001 Qua Jun 27 15:02:26 BRT 2001
* [27-JUN-2001] Arnaldo Carvalho de Melo <acme@conectiva.com.br> - cleanups * [27-JUN-2001] Arnaldo Carvalho de Melo <acme@conectiva.com.br> - cleanups
* *
* Parts (C) 1999 David Airlie, airlied@linux.ie * Parts (C) 1999 David Airlie, airlied@linux.ie
* [07-SEP-99] Bugfixes * [07-SEP-99] Bugfixes
* *
* [06-Jan-2002] Russell King <rmk@arm.linux.org.uk> * [06-Jan-2002] Russell King <rmk@arm.linux.org.uk>
* Converted to new serial core * Converted to new serial core
...@@ -64,7 +64,7 @@ static struct dz_port dz_ports[DZ_NB_PORT]; ...@@ -64,7 +64,7 @@ static struct dz_port dz_ports[DZ_NB_PORT];
#ifdef DEBUG_DZ #ifdef DEBUG_DZ
/* /*
* debugging code to send out chars via prom * debugging code to send out chars via prom
*/ */
static void debug_console(const char *s, int count) static void debug_console(const char *s, int count)
{ {
...@@ -82,7 +82,7 @@ static void debug_console(const char *s, int count) ...@@ -82,7 +82,7 @@ static void debug_console(const char *s, int count)
* ------------------------------------------------------------ * ------------------------------------------------------------
* dz_in () and dz_out () * dz_in () and dz_out ()
* *
* These routines are used to access the registers of the DZ * These routines are used to access the registers of the DZ
* chip, hiding relocation differences between implementation. * chip, hiding relocation differences between implementation.
* ------------------------------------------------------------ * ------------------------------------------------------------
*/ */
...@@ -106,8 +106,8 @@ static inline void dz_out(struct dz_port *dport, unsigned offset, ...@@ -106,8 +106,8 @@ static inline void dz_out(struct dz_port *dport, unsigned offset,
* ------------------------------------------------------------ * ------------------------------------------------------------
* rs_stop () and rs_start () * rs_stop () and rs_start ()
* *
* These routines are called before setting or resetting * These routines are called before setting or resetting
* tty->stopped. They enable or disable transmitter interrupts, * tty->stopped. They enable or disable transmitter interrupts,
* as necessary. * as necessary.
* ------------------------------------------------------------ * ------------------------------------------------------------
*/ */
...@@ -156,17 +156,17 @@ static void dz_enable_ms(struct uart_port *port) ...@@ -156,17 +156,17 @@ static void dz_enable_ms(struct uart_port *port)
/* /*
* ------------------------------------------------------------ * ------------------------------------------------------------
* Here starts the interrupt handling routines. All of the * Here starts the interrupt handling routines. All of the
* following subroutines are declared as inline and are folded * following subroutines are declared as inline and are folded
* into dz_interrupt. They were separated out for readability's * into dz_interrupt. They were separated out for readability's
* sake. * sake.
* *
* Note: rs_interrupt() is a "fast" interrupt, which means that it * Note: rs_interrupt() is a "fast" interrupt, which means that it
* runs with interrupts turned off. People who may want to modify * runs with interrupts turned off. People who may want to modify
* rs_interrupt() should try to keep the interrupt handler as fast as * rs_interrupt() should try to keep the interrupt handler as fast as
* possible. After you are done making modifications, it is not a bad * possible. After you are done making modifications, it is not a bad
* idea to do: * idea to do:
* *
* make drivers/serial/dz.s * make drivers/serial/dz.s
* *
* and look at the resulting assemble code in dz.s. * and look at the resulting assemble code in dz.s.
...@@ -403,7 +403,7 @@ static void dz_set_mctrl(struct uart_port *uport, unsigned int mctrl) ...@@ -403,7 +403,7 @@ static void dz_set_mctrl(struct uart_port *uport, unsigned int mctrl)
* startup () * startup ()
* *
* various initialization tasks * various initialization tasks
* ------------------------------------------------------------------- * -------------------------------------------------------------------
*/ */
static int dz_startup(struct uart_port *uport) static int dz_startup(struct uart_port *uport)
{ {
...@@ -430,13 +430,13 @@ static int dz_startup(struct uart_port *uport) ...@@ -430,13 +430,13 @@ static int dz_startup(struct uart_port *uport)
return 0; return 0;
} }
/* /*
* ------------------------------------------------------------------- * -------------------------------------------------------------------
* shutdown () * shutdown ()
* *
* This routine will shutdown a serial port; interrupts are disabled, and * This routine will shutdown a serial port; interrupts are disabled, and
* DTR is dropped if the hangup on close termio flag is on. * DTR is dropped if the hangup on close termio flag is on.
* ------------------------------------------------------------------- * -------------------------------------------------------------------
*/ */
static void dz_shutdown(struct uart_port *uport) static void dz_shutdown(struct uart_port *uport)
{ {
...@@ -451,7 +451,7 @@ static void dz_shutdown(struct uart_port *uport) ...@@ -451,7 +451,7 @@ static void dz_shutdown(struct uart_port *uport)
* release the bus after transmitting. This must be done when * release the bus after transmitting. This must be done when
* the transmit shift register is empty, not be done when the * the transmit shift register is empty, not be done when the
* transmit holding register is empty. This functionality * transmit holding register is empty. This functionality
* allows an RS485 driver to be written in user space. * allows an RS485 driver to be written in user space.
*/ */
static unsigned int dz_tx_empty(struct uart_port *uport) static unsigned int dz_tx_empty(struct uart_port *uport)
{ {
...@@ -695,13 +695,13 @@ static void dz_console_put_char(struct dz_port *dport, unsigned char ch) ...@@ -695,13 +695,13 @@ static void dz_console_put_char(struct dz_port *dport, unsigned char ch)
spin_unlock_irqrestore(&dport->port.lock, flags); spin_unlock_irqrestore(&dport->port.lock, flags);
} }
/* /*
* ------------------------------------------------------------------- * -------------------------------------------------------------------
* dz_console_print () * dz_console_print ()
* *
* dz_console_print is registered for printk. * dz_console_print is registered for printk.
* The console must be locked when we get here. * The console must be locked when we get here.
* ------------------------------------------------------------------- * -------------------------------------------------------------------
*/ */
static void dz_console_print(struct console *cons, static void dz_console_print(struct console *cons,
const char *str, const char *str,
......
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