OpenCloudOS-Kernel/drivers/tty/serial/8250
Paul Gortmaker 55e4016dd0 serial: remove back and forth conversions in serial_out_sync
The two callers to serial_out_sync() have a struct port right
there in scope, but then pass in a struct 8250_port which then
is locally resolved back to a struct port.

Delete the needless back and forth and just pass in the struct
port directly.  Rename the function to have "_port" in its
name, so the name <--> args relationship is consistent with the
other serial_in/out vs serial_port_in/out function classes.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Acked-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-03-09 12:47:56 -08:00
..
8250.c serial: remove back and forth conversions in serial_out_sync 2012-03-09 12:47:56 -08:00
8250.h serial: make 8250's serial_in shareable to other drivers. 2012-03-09 12:47:56 -08:00
8250_accent.c
8250_acorn.c
8250_boca.c
8250_dw.c
8250_early.c
8250_exar_st16c554.c
8250_fourport.c
8250_fsl.c
8250_gsc.c
8250_hp300.c
8250_hub6.c
8250_mca.c
8250_pci.c
8250_pnp.c
Kconfig
Makefile
serial_cs.c