summaryrefslogtreecommitdiffstats
path: root/drivers/usb
diff options
context:
space:
mode:
authorSandhya Bankar <bankarsandhya512@gmail.com>2016-05-04 08:53:14 +0200
committerFelipe Balbi <felipe.balbi@linux.intel.com>2016-06-21 10:16:15 +0200
commit43202800010102a857ffb119429d7dc5b41b7096 (patch)
treea2acf3883dd7ba4a674c9acacf58bdb8883aa625 /drivers/usb
parentdwc3: gadget: Implement the suspend entry event handler (diff)
downloadlinux-43202800010102a857ffb119429d7dc5b41b7096.tar.xz
linux-43202800010102a857ffb119429d7dc5b41b7096.zip
usb: Use (foo *) instead of (foo*).
Use (foo *) instead of (foo*). Signed-off-by: Sandhya Bankar <bankarsandhya512@gmail.com> Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Diffstat (limited to 'drivers/usb')
-rw-r--r--drivers/usb/gadget/config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/gadget/config.c b/drivers/usb/gadget/config.c
index e6c0542a063b..17a6077b89a4 100644
--- a/drivers/usb/gadget/config.c
+++ b/drivers/usb/gadget/config.c
@@ -93,7 +93,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;