Commit 395e7833 authored by Xiaofei Tan's avatar Xiaofei Tan Committed by Greg Kroah-Hartman

tty: tty_io: Remove spaces before tabs

Remove spaces before tabs following the advice of checkpatch.pl.
Signed-off-by: default avatarXiaofei Tan <tanxiaofei@huawei.com>
Link: https://lore.kernel.org/r/1620811585-18582-7-git-send-email-tanxiaofei@huawei.comSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 80e3fce1
...@@ -33,7 +33,7 @@ ...@@ -33,7 +33,7 @@
* -- Nick Holloway <alfie@dcs.warwick.ac.uk>, 27th May 1993. * -- Nick Holloway <alfie@dcs.warwick.ac.uk>, 27th May 1993.
* *
* Rewrote canonical mode and added more termios flags. * Rewrote canonical mode and added more termios flags.
* -- julian@uhunix.uhcc.hawaii.edu (J. Cowley), 13Jan94 * -- julian@uhunix.uhcc.hawaii.edu (J. Cowley), 13Jan94
* *
* Reorganized FASYNC support so mouse code can share it. * Reorganized FASYNC support so mouse code can share it.
* -- ctm@ardi.com, 9Sep95 * -- ctm@ardi.com, 9Sep95
...@@ -1114,7 +1114,7 @@ void tty_write_message(struct tty_struct *tty, char *msg) ...@@ -1114,7 +1114,7 @@ void tty_write_message(struct tty_struct *tty, char *msg)
static ssize_t file_tty_write(struct file *file, struct kiocb *iocb, struct iov_iter *from) static ssize_t file_tty_write(struct file *file, struct kiocb *iocb, struct iov_iter *from)
{ {
struct tty_struct *tty = file_tty(file); struct tty_struct *tty = file_tty(file);
struct tty_ldisc *ld; struct tty_ldisc *ld;
ssize_t ret; ssize_t ret;
if (tty_paranoia_check(tty, file_inode(file), "tty_write")) if (tty_paranoia_check(tty, file_inode(file), "tty_write"))
...@@ -1928,8 +1928,8 @@ static struct tty_struct *tty_open_current_tty(dev_t device, struct file *filp) ...@@ -1928,8 +1928,8 @@ static struct tty_struct *tty_open_current_tty(dev_t device, struct file *filp)
* @index: index for the device in the @return driver * @index: index for the device in the @return driver
* @return: driver for this inode (with increased refcount) * @return: driver for this inode (with increased refcount)
* *
* If @return is not erroneous, the caller is responsible to decrement the * If @return is not erroneous, the caller is responsible to decrement the
* refcount by tty_driver_kref_put. * refcount by tty_driver_kref_put.
* *
* Locking: tty_mutex protects get_tty_driver * Locking: tty_mutex protects get_tty_driver
*/ */
...@@ -3317,11 +3317,11 @@ struct device *tty_register_device_attr(struct tty_driver *driver, ...@@ -3317,11 +3317,11 @@ struct device *tty_register_device_attr(struct tty_driver *driver,
EXPORT_SYMBOL_GPL(tty_register_device_attr); EXPORT_SYMBOL_GPL(tty_register_device_attr);
/** /**
* tty_unregister_device - unregister a tty device * tty_unregister_device - unregister a tty device
* @driver: the tty driver that describes the tty device * @driver: the tty driver that describes the tty device
* @index: the index in the tty driver for this tty device * @index: the index in the tty driver for this tty device
* *
* If a tty device is registered with a call to tty_register_device() then * If a tty device is registered with a call to tty_register_device() then
* this function must be called when the tty device is gone. * this function must be called when the tty device is gone.
* *
* Locking: ?? * Locking: ??
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment