]> git.baikalelectronics.ru Git - kernel.git/commit
serial: 8250: convert drivers to use up_to_u8250p()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 18 Feb 2016 19:22:59 +0000 (21:22 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 8 Mar 2016 00:11:14 +0000 (16:11 -0800)
commitf3203d207ba2bad2d8374bbebc274190f5a38959
treecbe0b77ab4dda5d7a2c964fb3465b973b905269b
parent1559b4976f7d7e97cd4b4fabc8dc735ebcb1fd81
serial: 8250: convert drivers to use up_to_u8250p()

up_to_u8250p() casts struct uart_port * to struct uart_8250_port *. Update code
to use it instead of open coded variant.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/8250/8250_mtk.c
drivers/tty/serial/8250/8250_omap.c
drivers/tty/serial/8250/8250_port.c