Merge branch 'u-boot-ti/master' into 'u-boot-arm/master'
[platform/kernel/u-boot.git] / drivers / usb / gadget / config.c
index 84c90f0..f9163a8 100644 (file)
@@ -101,7 +101,7 @@ int usb_gadget_config_buf(
        *cp = *config;
 
        /* then interface/endpoint/class/vendor/... */
-       len = usb_descriptor_fillbuf(USB_DT_CONFIG_SIZE + (u8*)buf,
+       len = usb_descriptor_fillbuf(USB_DT_CONFIG_SIZE + (u8 *)buf,
                        length - USB_DT_CONFIG_SIZE, desc);
        if (len < 0)
                return len;
@@ -116,4 +116,3 @@ int usb_gadget_config_buf(
        cp->bmAttributes |= USB_CONFIG_ATT_ONE;
        return len;
 }
-