usb: gadget: composite: use kasprintf() instead of open coding it
authorJuergen Gross <jgross@suse.com>
Mon, 10 Oct 2016 10:48:36 +0000 (12:48 +0200)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Thu, 3 Nov 2016 08:38:36 +0000 (10:38 +0200)
commit5002c93135947881f4f35caadf7292f40df7ef6b
tree151ae1927aa0efd58d2aa2d5c2dd2cf847167f32
parentbb0147364850c42db2a0dff5ef018e57413eaf79
usb: gadget: composite: use kasprintf() instead of open coding it

Let's not reimplement generic kernel helpers,
instead call kasprintf().

[ felipe.balbi@linux.intel.com: better commit log ]

Signed-off-by: Juergen Gross <jgross@suse.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/gadget/composite.c