mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-07 15:18:15 +00:00
USB: serial: fix whitespace issues
Minor whitespace clean ups. Signed-off-by: Johan Hovold <jhovold@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
d5e450ee4f
commit
3e1f490119
1 changed files with 9 additions and 8 deletions
|
@ -364,7 +364,6 @@ static int serial_write(struct tty_struct *tty, const unsigned char *buf,
|
||||||
|
|
||||||
/* pass on to the driver specific version of this function */
|
/* pass on to the driver specific version of this function */
|
||||||
retval = port->serial->type->write(tty, port, buf, count);
|
retval = port->serial->type->write(tty, port, buf, count);
|
||||||
|
|
||||||
exit:
|
exit:
|
||||||
return retval;
|
return retval;
|
||||||
}
|
}
|
||||||
|
@ -690,6 +689,7 @@ static int serial_carrier_raised(struct tty_port *port)
|
||||||
{
|
{
|
||||||
struct usb_serial_port *p = container_of(port, struct usb_serial_port, port);
|
struct usb_serial_port *p = container_of(port, struct usb_serial_port, port);
|
||||||
struct usb_serial_driver *drv = p->serial->type;
|
struct usb_serial_driver *drv = p->serial->type;
|
||||||
|
|
||||||
if (drv->carrier_raised)
|
if (drv->carrier_raised)
|
||||||
return drv->carrier_raised(p);
|
return drv->carrier_raised(p);
|
||||||
/* No carrier control - don't block */
|
/* No carrier control - don't block */
|
||||||
|
@ -700,6 +700,7 @@ static void serial_dtr_rts(struct tty_port *port, int on)
|
||||||
{
|
{
|
||||||
struct usb_serial_port *p = container_of(port, struct usb_serial_port, port);
|
struct usb_serial_port *p = container_of(port, struct usb_serial_port, port);
|
||||||
struct usb_serial_driver *drv = p->serial->type;
|
struct usb_serial_driver *drv = p->serial->type;
|
||||||
|
|
||||||
if (drv->dtr_rts)
|
if (drv->dtr_rts)
|
||||||
drv->dtr_rts(p, on);
|
drv->dtr_rts(p, on);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue