usb: gadget: printer: factor out f_printer
authorAndrzej Pietrasiewicz <andrzej.p@samsung.com>
Tue, 3 Mar 2015 09:52:27 +0000 (10:52 +0100)
committerFelipe Balbi <balbi@ti.com>
Tue, 10 Mar 2015 20:33:40 +0000 (15:33 -0500)
commitb185f01a9ab7af586133be2555298e960237359b
tree05aa1a9c797a7a023decf020049369e1755679bc
parent6dd8c2e69521ec9d7b23a741294702f844353f1a
usb: gadget: printer: factor out f_printer

The legacy printer gadget now contains both a reusable printer function
and legacy gadget proper implementations interwoven, but logically
separate. This patch factors out a reusable f_printer.

Signed-off-by: Andrzej Pietrasiewicz <andrzej.p@samsung.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/function/f_printer.c [new file with mode: 0644]
drivers/usb/gadget/legacy/printer.c