]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/char/n_r3964.c
[PATCH] Switch all my contributions stuff to a single common address
[karo-tx-linux.git] / drivers / char / n_r3964.c
index ae377aa473ba6fbe5644ac47866fd9637fc1499b..4a8215a89ad3fe4287b0f5f4560844b0c3cb4b2e 100644 (file)
@@ -372,14 +372,8 @@ static void remove_from_rx_queue(struct r3964_info *pInfo,
 static void put_char(struct r3964_info *pInfo, unsigned char ch)
 {
        struct tty_struct *tty = pInfo->tty;
-
-       if (tty == NULL)
-               return;
-
        /* FIXME: put_char should not be called from an IRQ */
-       if (tty->ops->put_char) {
-               tty->ops->put_char(tty, ch);
-       }
+       tty_put_char(tty, ch);
        pInfo->bcc ^= ch;
 }