summaryrefslogtreecommitdiff
path: root/drivers/usb
diff options
context:
space:
mode:
authorLukasz Majewski <l.majewski@samsung.com>2013-12-09 16:20:15 +0100
committerMarek Vasut <marex@denx.de>2013-12-18 19:53:19 +0100
commit77b95042889c958c0da5a96a093aeb5a605ea3b4 (patch)
tree2e54d9706746f27367de8194732d98a2d256aa71 /drivers/usb
parent33fac4a6a23b595a2a3cdfa76eddde98d48947b4 (diff)
downloadu-boot-imx-77b95042889c958c0da5a96a093aeb5a605ea3b4.zip
u-boot-imx-77b95042889c958c0da5a96a093aeb5a605ea3b4.tar.gz
u-boot-imx-77b95042889c958c0da5a96a093aeb5a605ea3b4.tar.bz2
usb: f_dfu: cosmetic: Code cleanup
Code cleanup for dfu_bind_config function Signed-off-by: Lukasz Majewski <l.majewski@samsung.com>
Diffstat (limited to 'drivers/usb')
-rw-r--r--drivers/usb/gadget/f_dfu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/gadget/f_dfu.c b/drivers/usb/gadget/f_dfu.c
index b4b4aa4..a045864 100644
--- a/drivers/usb/gadget/f_dfu.c
+++ b/drivers/usb/gadget/f_dfu.c
@@ -755,8 +755,8 @@ static int dfu_bind_config(struct usb_configuration *c)
f_dfu->usb_function.unbind = dfu_unbind;
f_dfu->usb_function.set_alt = dfu_set_alt;
f_dfu->usb_function.disable = dfu_disable;
- f_dfu->usb_function.strings = dfu_generic_strings,
- f_dfu->usb_function.setup = dfu_handle,
+ f_dfu->usb_function.strings = dfu_generic_strings;
+ f_dfu->usb_function.setup = dfu_handle;
f_dfu->poll_timeout = DFU_DEFAULT_POLL_TIMEOUT;
status = usb_add_function(c, &f_dfu->usb_function);