usb: gadget: s3c2410_udc: Remove static char buffer, use vsprintf extension %pV
authorJoe Perches <joe@perches.com>
Fri, 27 Mar 2015 05:43:39 +0000 (22:43 -0700)
committerFelipe Balbi <balbi@ti.com>
Thu, 7 May 2015 18:37:41 +0000 (13:37 -0500)
commitd74c23d36e7829ca7517a82c725c493d16328a44
treec73b8fd4d9781fba6bf367e5d152e567223ff311
parentdb978e284781af641a02f9ca9d99a746e1e1f60f
usb: gadget: s3c2410_udc: Remove static char buffer, use vsprintf extension %pV

Using unnecessary static char buffers isn't good.
Use the %pV extension instead.

Miscellanea:

o the dprintk return value is unused, make it void
o add __printf format and argument verification

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/udc/s3c2410_udc.c