Skip to content

Commit

Permalink
tty: cleanup checkpatch warning in pty.c
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Cong Ding authored and Greg Kroah-Hartman committed Jan 16, 2013
1 parent 82f8c35 commit b9f8033
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions drivers/tty/pty.c
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,9 @@ static void pty_close(struct tty_struct *tty, struct file *filp)
set_bit(TTY_OTHER_CLOSED, &tty->flags);
#ifdef CONFIG_UNIX98_PTYS
if (tty->driver == ptm_driver) {
mutex_lock(&devpts_mutex);
mutex_lock(&devpts_mutex);
devpts_pty_kill(tty->link->driver_data);
mutex_unlock(&devpts_mutex);
mutex_unlock(&devpts_mutex);
}
#endif
tty_unlock(tty);
Expand Down Expand Up @@ -661,7 +661,7 @@ static const struct tty_operations pty_unix98_ops = {
* Allocate a unix98 pty master device from the ptmx driver.
*
* Locking: tty_mutex protects the init_dev work. tty->count should
* protect the rest.
* protect the rest.
* allocated_ptys_lock handles the list of free pty numbers
*/

Expand Down

0 comments on commit b9f8033

Please sign in to comment.