commit | cee5cbff8d80ec2d10fe8070f229e95cc42443bf | [log] [tgz] |
---|---|---|
author | Andrzej Pietrasiewicz <andrzej.p@samsung.com> | Tue Mar 03 10:52:14 2015 +0100 |
committer | Felipe Balbi <balbi@ti.com> | Tue Mar 10 15:33:36 2015 -0500 |
tree | a8aae40b4f190e1721e845a7cfb6c056620e9b36 | |
parent | 4504b5a0b22e26a7213d9e08706303a790f5a400 [diff] |
usb: gadget: printer: call usb_add_function() last Conversion to the new function interface requires splitting a <something>_bind_config() function into two parts: allocation of container_of struct usb_function and invocation of usb_add_function(). This patch moves the latter to the end of the f_printer_bind_config() in order to enable conversion to the new interface. Signed-off-by: Andrzej Pietrasiewicz <andrzej.p@samsung.com> Signed-off-by: Felipe Balbi <balbi@ti.com>