projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
878b5fd
)
USB: serial: keyspan: Removed unrequired parentheses.
author
Ben Minerds
<puzzleduck@gmail.com>
Wed, 11 Jul 2012 14:10:20 +0000
(
00:10
+1000)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Tue, 17 Jul 2012 00:09:15 +0000
(17:09 -0700)
Changes to conform with checkpatch.sh script. - return is not a
function, parentheses not required. Removed 1 checkpatch.sh error.
Signed-off-by: Ben Minerds <puzzleduck@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/serial/keyspan.c
patch
|
blob
|
history
diff --git
a/drivers/usb/serial/keyspan.c
b/drivers/usb/serial/keyspan.c
index 5f4b0fb77fb0013ddf46643b2157b4e99bcf00e6..af0b70eaf032f6617c36b596ce70776842a20d9f 100644
(file)
--- a/
drivers/usb/serial/keyspan.c
+++ b/
drivers/usb/serial/keyspan.c
@@
-1235,7
+1235,7
@@
static int keyspan_fake_startup(struct usb_serial *serial)
if (request_ihex_firmware(&fw, fw_name, &serial->dev->dev)) {
dev_err(&serial->dev->dev, "Required keyspan firmware image (%s) unavailable.\n", fw_name);
- return
(1)
;
+ return
1
;
}
dbg("Uploading Keyspan %s firmware.", fw_name);