]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit07aea50fb0a1cc972d58da5d7a81d478d3dd4096
tree7af77a2a5acbe6967eecf6abdfccbcff1d50a9be
parent0bb283535ff4de6dadbb3d1c1b12ed4cc5671d41
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