Skip to content

Commit

Permalink
usb: dwc3: make dwc3_get_device_id() return the id
Browse files Browse the repository at this point in the history
We always return zero instead of the id we found.

Cc: stable@vger.kernel.org
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
  • Loading branch information
Dan Carpenter authored and Felipe Balbi committed Mar 2, 2012
1 parent 1d04679 commit 075cd14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/usb/dwc3/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ int dwc3_get_device_id(void)
id = -ENOMEM;
}

return 0;
return id;
}
EXPORT_SYMBOL_GPL(dwc3_get_device_id);

Expand Down

0 comments on commit 075cd14

Please sign in to comment.