usb: gadget: make g_printer use composite
authorSebastian Andrzej Siewior <sebastian@breakpoint.cc>
Sat, 4 Feb 2012 17:55:20 +0000 (18:55 +0100)
committerFelipe Balbi <balbi@ti.com>
Fri, 4 May 2012 12:53:04 +0000 (15:53 +0300)
commit2e87edf4922795f5e5e5be7934a36b6ff331022d
tree2066729e429f4f36d9a4cd57126d0973babe0024
parentd3bfd25821bcfb99a56c2094af249ee2d6c9e4dc
usb: gadget: make g_printer use composite

This patch converts the g_printer to make use of the compoiste framework
for descriptor parsing instead of its own implementation of it.
This gadget contains now one function which is the printer gadget.
Compile tested only.

Signed-off-by: Sebastian Andrzej Siewior <sebastian@breakpoint.cc>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/printer.c