usb: control complete callback has no return value

It's never used, so let's make it void to avoid any confusion.
It was also an unintentional change from void to int in 4b89272
This commit is contained in:
Karl Palsson 2015-07-29 21:11:26 +00:00
parent f5c9dbdb8d
commit 7814d06095

View File

@ -76,7 +76,7 @@ extern void usbd_register_resume_callback(usbd_device *usbd_dev,
extern void usbd_register_sof_callback(usbd_device *usbd_dev,
void (*callback)(void));
typedef int (*usbd_control_complete_callback)(usbd_device *usbd_dev,
typedef void (*usbd_control_complete_callback)(usbd_device *usbd_dev,
struct usb_setup_data *req);
typedef int (*usbd_control_callback)(usbd_device *usbd_dev,