diff options
author | Cong Ding <dinggnu@gmail.com> | 2013-01-11 23:01:22 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-01-16 01:49:36 -0500 |
commit | b9f8033f28448732612e64046b13087b08dd25f7 (patch) | |
tree | 0fc0c68f8062a7cde5d9a1d6c9f58dcae9eafd61 /drivers/tty/pty.c | |
parent | 82f8c35f86a878a504f92559d631ea03f0f62152 (diff) |
tty: cleanup checkpatch warning in pty.c
spaces are used for indent in 3 places of tty/pty.c, we change it to tab.
Signed-off-by: Cong Ding <dinggnu@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/pty.c')
-rw-r--r-- | drivers/tty/pty.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/tty/pty.c b/drivers/tty/pty.c index 916825f984a9..4ec11f326d6d 100644 --- a/drivers/tty/pty.c +++ b/drivers/tty/pty.c | |||
@@ -55,9 +55,9 @@ static void pty_close(struct tty_struct *tty, struct file *filp) | |||
55 | set_bit(TTY_OTHER_CLOSED, &tty->flags); | 55 | set_bit(TTY_OTHER_CLOSED, &tty->flags); |
56 | #ifdef CONFIG_UNIX98_PTYS | 56 | #ifdef CONFIG_UNIX98_PTYS |
57 | if (tty->driver == ptm_driver) { | 57 | if (tty->driver == ptm_driver) { |
58 | mutex_lock(&devpts_mutex); | 58 | mutex_lock(&devpts_mutex); |
59 | devpts_pty_kill(tty->link->driver_data); | 59 | devpts_pty_kill(tty->link->driver_data); |
60 | mutex_unlock(&devpts_mutex); | 60 | mutex_unlock(&devpts_mutex); |
61 | } | 61 | } |
62 | #endif | 62 | #endif |
63 | tty_unlock(tty); | 63 | tty_unlock(tty); |
@@ -661,7 +661,7 @@ static const struct tty_operations pty_unix98_ops = { | |||
661 | * Allocate a unix98 pty master device from the ptmx driver. | 661 | * Allocate a unix98 pty master device from the ptmx driver. |
662 | * | 662 | * |
663 | * Locking: tty_mutex protects the init_dev work. tty->count should | 663 | * Locking: tty_mutex protects the init_dev work. tty->count should |
664 | * protect the rest. | 664 | * protect the rest. |
665 | * allocated_ptys_lock handles the list of free pty numbers | 665 | * allocated_ptys_lock handles the list of free pty numbers |
666 | */ | 666 | */ |
667 | 667 | ||