tty_ldisc: don't use flush_scheduled_work()
authorTejun Heo <tj@kernel.org>
Mon, 24 Jan 2011 16:54:12 +0000 (17:54 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 3 Feb 2011 22:12:25 +0000 (14:12 -0800)
commit0a1f1a0b626d79071ee9fe91b7fcd28be6332677
tree1768ee10aff61d245d9289c11092baf477ae845d
parent78841462d72fe7038cb7ea48adecc6fc395f2dc5
tty_ldisc: don't use flush_scheduled_work()

flush_scheduled_work() is scheduled to be deprecated.  Explicitly sync
flush the used work items instead.  Note that before this change,
flush_scheduled_work() wouldn't have properly flushed tty->buf.work if
it were on timer.

Signed-off-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/tty/tty_ldisc.c