usb: renesas_usbhs: show error code when probe failed

To know why the driver probing failed, this patch shows error code.

Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
This commit is contained in:
Yoshihiro Shimoda 2016-06-27 21:09:18 +09:00 committed by Felipe Balbi
parent 7099258819
commit 0d7995031a

View file

@ -697,7 +697,7 @@ static int usbhs_probe(struct platform_device *pdev)
probe_end_pipe_exit:
usbhs_pipe_remove(priv);
dev_info(&pdev->dev, "probe failed\n");
dev_info(&pdev->dev, "probe failed (%d)\n", ret);
return ret;
}