tty->ldisc.flush_buffer(tty);
tty->closing = 0;
- self->tty = 0;
+ self->tty = NULL;
if (self->blocked_open) {
if (self->close_delay) {
/* I guess we need to lock here - Jean II */
spin_lock_irqsave(&self->spinlock, flags);
self->flags &= ~ASYNC_NORMAL_ACTIVE;
- self->tty = 0;
+ self->tty = NULL;
self->open_count = 0;
spin_unlock_irqrestore(&self->spinlock, flags);