]> git.baikalelectronics.ru Git - kernel.git/commit
usb: gadget: printer: add setup and cleanup functions
authorAndrzej Pietrasiewicz <andrzej.p@samsung.com>
Tue, 3 Mar 2015 09:52:18 +0000 (10:52 +0100)
committerFelipe Balbi <balbi@ti.com>
Tue, 10 Mar 2015 20:33:37 +0000 (15:33 -0500)
commitd24b565bb472f707c60847adc7455f98c2233c21
tree21309463de8093e881a6236f2b46c5f34a538cda
parent8ddd48a18933166825b73e9334821fa774356f27
usb: gadget: printer: add setup and cleanup functions

Factor out gprinter_setup() and gprinter_cleanup() so that it is
easy to change the place they are called from.

Signed-off-by: Andrzej Pietrasiewicz <andrzej.p@samsung.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/legacy/printer.c