Commit 86329900 authored by Tobin C. Harding's avatar Tobin C. Harding Committed by Greg Kroah-Hartman

tty_port: Remove incorrect whitespace after comments

Currently there are a bunch of kernel-doc function comments that have a
line of whitespace after the comment and before the function they
comment - this is incorrect, there should be no whitespace here.

Remove incorrect whitespace between comment and associated function.
Signed-off-by: default avatarTobin C. Harding <me@tobin.cc>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 30ec514d
...@@ -279,7 +279,6 @@ EXPORT_SYMBOL(tty_port_put); ...@@ -279,7 +279,6 @@ EXPORT_SYMBOL(tty_port_put);
* Return a refcount protected tty instance or NULL if the port is not * Return a refcount protected tty instance or NULL if the port is not
* associated with a tty (eg due to close or hangup) * associated with a tty (eg due to close or hangup)
*/ */
struct tty_struct *tty_port_tty_get(struct tty_port *port) struct tty_struct *tty_port_tty_get(struct tty_port *port)
{ {
unsigned long flags; unsigned long flags;
...@@ -300,7 +299,6 @@ EXPORT_SYMBOL(tty_port_tty_get); ...@@ -300,7 +299,6 @@ EXPORT_SYMBOL(tty_port_tty_get);
* Associate the port and tty pair. Manages any internal refcounts. * Associate the port and tty pair. Manages any internal refcounts.
* Pass NULL to deassociate a port * Pass NULL to deassociate a port
*/ */
void tty_port_tty_set(struct tty_port *port, struct tty_struct *tty) void tty_port_tty_set(struct tty_port *port, struct tty_struct *tty)
{ {
unsigned long flags; unsigned long flags;
...@@ -343,7 +341,6 @@ static void tty_port_shutdown(struct tty_port *port, struct tty_struct *tty) ...@@ -343,7 +341,6 @@ static void tty_port_shutdown(struct tty_port *port, struct tty_struct *tty)
* *
* Caller holds tty lock. * Caller holds tty lock.
*/ */
void tty_port_hangup(struct tty_port *port) void tty_port_hangup(struct tty_port *port)
{ {
struct tty_struct *tty; struct tty_struct *tty;
...@@ -399,7 +396,6 @@ EXPORT_SYMBOL_GPL(tty_port_tty_wakeup); ...@@ -399,7 +396,6 @@ EXPORT_SYMBOL_GPL(tty_port_tty_wakeup);
* to hide some internal details. This will eventually become entirely * to hide some internal details. This will eventually become entirely
* internal to the tty port. * internal to the tty port.
*/ */
int tty_port_carrier_raised(struct tty_port *port) int tty_port_carrier_raised(struct tty_port *port)
{ {
if (port->ops->carrier_raised == NULL) if (port->ops->carrier_raised == NULL)
...@@ -416,7 +412,6 @@ EXPORT_SYMBOL(tty_port_carrier_raised); ...@@ -416,7 +412,6 @@ EXPORT_SYMBOL(tty_port_carrier_raised);
* to hide some internal details. This will eventually become entirely * to hide some internal details. This will eventually become entirely
* internal to the tty port. * internal to the tty port.
*/ */
void tty_port_raise_dtr_rts(struct tty_port *port) void tty_port_raise_dtr_rts(struct tty_port *port)
{ {
if (port->ops->dtr_rts) if (port->ops->dtr_rts)
...@@ -432,7 +427,6 @@ EXPORT_SYMBOL(tty_port_raise_dtr_rts); ...@@ -432,7 +427,6 @@ EXPORT_SYMBOL(tty_port_raise_dtr_rts);
* to hide some internal details. This will eventually become entirely * to hide some internal details. This will eventually become entirely
* internal to the tty port. * internal to the tty port.
*/ */
void tty_port_lower_dtr_rts(struct tty_port *port) void tty_port_lower_dtr_rts(struct tty_port *port)
{ {
if (port->ops->dtr_rts) if (port->ops->dtr_rts)
...@@ -464,7 +458,6 @@ EXPORT_SYMBOL(tty_port_lower_dtr_rts); ...@@ -464,7 +458,6 @@ EXPORT_SYMBOL(tty_port_lower_dtr_rts);
* NB: May drop and reacquire tty lock when blocking, so tty and tty_port * NB: May drop and reacquire tty lock when blocking, so tty and tty_port
* may have changed state (eg., may have been hung up). * may have changed state (eg., may have been hung up).
*/ */
int tty_port_block_til_ready(struct tty_port *port, int tty_port_block_til_ready(struct tty_port *port,
struct tty_struct *tty, struct file *filp) struct tty_struct *tty, struct file *filp)
{ {
......
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