usb: gadget: udc: pxa27x_udc: Remove use of seq_printf return value
authorJoe Perches <joe@perches.com>
Sun, 22 Feb 2015 02:53:37 +0000 (18:53 -0800)
committerFelipe Balbi <balbi@ti.com>
Tue, 10 Mar 2015 20:33:16 +0000 (15:33 -0500)
commit25140ce627f43df1d425d591ac3d360b48ae24e1
treecfc9046e9aa0b39e8c561fd9d7eba9ff8228f8fc
parent8f2c9544aba636134303105ecb164190a39dece4
usb: gadget: udc: pxa27x_udc: Remove use of seq_printf return value

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