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)
commit991cd26249e775c07347ab4d62adfbc3284e7704
tree64a97616b7389c462b36fded3aadb6b72ecde102
parentcee5cbff8d80ec2d10fe8070f229e95cc42443bf
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
This page took 0.026017 seconds and 5 git commands to generate.