usb: gadget: printer: move function-related bind code to function's bind
authorAndrzej Pietrasiewicz <andrzej.p@samsung.com>
Tue, 3 Mar 2015 09:52:13 +0000 (10:52 +0100)
committerFelipe Balbi <balbi@ti.com>
Tue, 10 Mar 2015 20:33:36 +0000 (15:33 -0500)
commit4504b5a0b22e26a7213d9e08706303a790f5a400
tree7af77a2a5acbe6967eecf6abdfccbcff1d50a9be
parentae2dd0de57a3f6b12e30e5552033a492d6d206f7
usb: gadget: printer: move function-related bind code to function's bind

In order to factor out a reusable f_printer.c, the code related to the
function should be placed in functions related to the function.

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