serial: use container_of to resolve uart_ip22zilog_port from uart_port
authorFabian Frederick <fabf@skynet.be>
Sun, 5 Oct 2014 17:01:04 +0000 (19:01 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 6 Nov 2014 03:20:52 +0000 (19:20 -0800)
commit2413b320625f0c8d5292f417923326177691b09b
tree47b18c66937523d293eb96f9ce639d10c18bcda4
parentc9db776b57d84588688f29f0ba11cfd00a227254
serial: use container_of to resolve uart_ip22zilog_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/ip22zilog.c