tty: use the new 'flush_delayed_work()' helper to do ldisc flush

This way all flush_to_ldisc work is always done through the workqueues,
and we thus have a single point of serialization.

Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

+1 -1
+1 -1
drivers/char/tty_buffer.c
··· 468 468 */ 469 469 void tty_flush_to_ldisc(struct tty_struct *tty) 470 470 { 471 - flush_to_ldisc(&tty->buf.work.work); 471 + flush_delayed_work(&tty->buf.work); 472 472 } 473 473 474 474 /**