tty: Remove tty_wait_until_sent_from_close()
[firefly-linux-kernel-4.4.55.git] / drivers / tty / hvc / hvc_console.c
index 9c30f67c802a80df3a66e860e1bf53ba828e67ff..e46d628998f5cffb9b4be2366c635f0d9ced1b77 100644 (file)
@@ -418,7 +418,7 @@ static void hvc_close(struct tty_struct *tty, struct file * filp)
                 * there is no buffered data otherwise sleeps on a wait queue
                 * waking periodically to check chars_in_buffer().
                 */
-               tty_wait_until_sent_from_close(tty, HVC_CLOSE_WAIT);
+               tty_wait_until_sent(tty, HVC_CLOSE_WAIT);
        } else {
                if (hp->port.count < 0)
                        printk(KERN_ERR "hvc_close %X: oops, count is %d\n",