usb: gadget: fusb300_udc: fix error return code in fusb300_probe()
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Tue, 7 May 2013 11:49:37 +0000 (19:49 +0800)
committerFelipe Balbi <balbi@ti.com>
Wed, 15 May 2013 14:25:19 +0000 (17:25 +0300)
commitc3661951032d002d710c2187c5d9dbc8b4cabfa2
tree5bc8180bdce24beaf55b8ce3d5ab9205ac6cd001
parentef89a1f3a84d127bdcda7e4dd54f763d2f88203f
usb: gadget: fusb300_udc: fix error return code in fusb300_probe()

Fix to return a negative error code from the error handling
case instead of 0, as done elsewhere in this function.

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/fusb300_udc.c