git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8f2c954
)
usb: gadget: udc: pxa27x_udc: Remove use of seq_printf return value
author
Joe Perches
<joe@perches.com>
Sun, 22 Feb 2015 02:53:37 +0000
(18:53 -0800)
committer
Felipe Balbi
<balbi@ti.com>
Tue, 10 Mar 2015 20:33:16 +0000
(15:33 -0500)
The seq_printf return value, because it's frequently misused,
will eventually be converted to void.
See: commit
1f33c41c03da
("seq_file: Rename seq_overflow() to
seq_has_overflowed() and make public")
While there, simplify the error handler logic by returning
immediately and remove the unnecessary labels.
Tested-by: Robert Jarzmik <robert.jarzmik@free.fr>
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/udc/pxa27x_udc.c
patch
|
blob
|
history
diff --cc
drivers/usb/gadget/udc/pxa27x_udc.c
Simple merge