serial: sunsu: use container_of to resolve uart_sunsu_port from uart_port
authorFabian Frederick <[email protected]>
Sun, 5 Oct 2014 17:01:09 +0000 (19:01 +0200)
committerGreg Kroah-Hartman <[email protected]>
Thu, 6 Nov 2014 03:20:52 +0000 (19:20 -0800)
commit9a6962c531d890880b5b6a75df0678b1ba7742cc
tree1b57fd9bd674956437cdbcfa6ecab5292ffd24ed
parentedb20c7aa5080f983af562d117c577975c9c392e
serial: sunsu: use container_of to resolve uart_sunsu_port from uart_port

Use container_of instead of casting first structure member.

Signed-off-by: Fabian Frederick <[email protected]>
Acked-by: David S. Miller <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
drivers/tty/serial/sunsu.c