From: Andrzej Pietrasiewicz Date: Tue, 3 Mar 2015 09:52:19 +0000 (+0100) Subject: usb: gadget: printer: call gprinter_setup() from gadget's bind X-Git-Tag: omap-for-v4.1/fixes-rc1~167^2~55^2~53 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a844715d2fc44adc2da17f90b34cc0d0c1e81596;p=pandora-kernel.git usb: gadget: printer: call gprinter_setup() from gadget's bind Call gprinter_setup() from gadget's bind instead of module's init. Call gprinter_cleaup() corerspondingly. This detaches printer function's logic from legacy printer gadget's implementation. Signed-off-by: Andrzej Pietrasiewicz Signed-off-by: Felipe Balbi --- Reading git-diff-tree failed