Commit b1ae8858 authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

[PATCH] USB: fix problem found by sparse in usb.h

parent e1f015ee
...@@ -136,7 +136,7 @@ static inline void *usb_get_intfdata (struct usb_interface *intf) ...@@ -136,7 +136,7 @@ static inline void *usb_get_intfdata (struct usb_interface *intf)
static inline void usb_set_intfdata (struct usb_interface *intf, void *data) static inline void usb_set_intfdata (struct usb_interface *intf, void *data)
{ {
return dev_set_drvdata (&intf->dev, data); dev_set_drvdata(&intf->dev, data);
} }
/* USB_DT_CONFIG: Configuration descriptor information. /* USB_DT_CONFIG: Configuration descriptor information.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment