TTY: msm_smd_tty, clean up activate/shutdown
authorJiri Slaby <jslaby@suse.cz>
Thu, 7 Mar 2013 12:12:28 +0000 (13:12 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 18 Mar 2013 23:19:44 +0000 (16:19 -0700)
commit6982a398426a22166eaf049b79544536fdd6429f
treea59f9fb6d2560f3d6714a79389626a2ac3339853
parent6865ff222ccab371c04afce17aec1f7d70b17dbc
TTY: msm_smd_tty, clean up activate/shutdown

Do not dig struct smd_tty_info out of tty_struct using
tty_port_tty_get. It is unnecessarily too complicated, use simple
container_of instead.

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/msm_smd_tty.c