usb: dwc3: make dwc3_get_device_id() return the id

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>
This commit is contained in:
Dan Carpenter 2012-02-04 16:37:14 +03:00 committed by Felipe Balbi
parent 1d04679395
commit 075cd14d2a

View file

@ -86,7 +86,7 @@ int dwc3_get_device_id(void)
id = -ENOMEM;
}
return 0;
return id;
}
EXPORT_SYMBOL_GPL(dwc3_get_device_id);