summaryrefslogtreecommitdiffstats
path: root/drivers/usb/serial/ch341.c
diff options
context:
space:
mode:
authorAlan Cox <alan@lxorguk.ukuu.org.uk>2008-04-29 15:35:39 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2008-05-02 19:25:58 +0200
commitc4d0f8cbca3a97900f85b082064a63c7a5928bd7 (patch)
treeabfd6996e010cb75962c82fde6fac9fb5eeacc29 /drivers/usb/serial/ch341.c
parentUSB: Remove redundant dependencies on USB_ATM. (diff)
downloadlinux-c4d0f8cbca3a97900f85b082064a63c7a5928bd7.tar.xz
linux-c4d0f8cbca3a97900f85b082064a63c7a5928bd7.zip
usb_serial: some coding style fixes
Signed-off-by: Alan Cox <alan@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/serial/ch341.c')
-rw-r--r--drivers/usb/serial/ch341.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/serial/ch341.c b/drivers/usb/serial/ch341.c
index d947d955bceb..ba28fdc9ccd2 100644
--- a/drivers/usb/serial/ch341.c
+++ b/drivers/usb/serial/ch341.c
@@ -130,7 +130,7 @@ static int ch341_get_status(struct usb_device *dev)
return -ENOMEM;
r = ch341_control_in(dev, 0x95, 0x0706, 0, buffer, size);
- if ( r < 0)
+ if (r < 0)
goto out;
/* Not having the datasheet for the CH341, we ignore the bytes returned