]> git.baikalelectronics.ru Git - kernel.git/commit
usb: gadget: printer: move function-related unbind code to function's unbind
authorAndrzej Pietrasiewicz <andrzej.p@samsung.com>
Tue, 3 Mar 2015 09:52:15 +0000 (10:52 +0100)
committerFelipe Balbi <balbi@ti.com>
Tue, 10 Mar 2015 20:33:36 +0000 (15:33 -0500)
commit8244e5de67a4f8204c4e7530145e8ab6ab9409f4
tree64a97616b7389c462b36fded3aadb6b72ecde102
parent0a6719c4ebf2af66a9278fd25bdf2d688a4efc2d
usb: gadget: printer: move function-related unbind code to function's unbind

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.

printer_cfg_unbind() becomes empty, so it is removed.

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