tty: ar933x_uart: use container_of to resolve ar933x_uart_port from uart_port
authorFabian Frederick <fabf@skynet.be>
Sun, 5 Oct 2014 17:19:49 +0000 (19:19 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 6 Nov 2014 03:20:53 +0000 (19:20 -0800)
commitf9c1b28e8991d37df9d58026c7f7f882b7cfae23
tree4aaa87417d59a9cc039332753786824adabb73cc
parent6f414130e8605920d78827e2bbf79a5ce7d25e4a
tty: ar933x_uart: use container_of to resolve ar933x_uart_port from uart_port

Use container_of instead of casting first structure member.

Signed-off-by: Fabian Frederick <fabf@skynet.be>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/ar933x_uart.c