tty: metag_da: avoid getting tty kref in dashtty_timer()
authorJames Hogan <james.hogan@imgtec.com>
Wed, 6 Feb 2013 14:45:02 +0000 (14:45 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 6 Feb 2013 19:10:17 +0000 (11:10 -0800)
commita8cd98586b1f9e3b5dd7e141bcfe8f078fbb39ed
treee442817ff8461de7925e9d77e043eb3e8070c9cb
parent8200e38a0cbf95dd2acaa565badb9b6a71c0e9c3
tty: metag_da: avoid getting tty kref in dashtty_timer()

Getting the tty kref in dashtty_timer() is no longer necessary since it
isn't needed in fetch_data() any longer (due to changes which make the
tty flip functions refer to tty_ports instead of tty_structs), so just
pass around a channel number instead.

Signed-off-by: James Hogan <james.hogan@imgtec.com>
Acked-by: Jiri Slaby <jslaby@suse.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/metag_da.c