USB: EHCI: adjust error return code
[cascardo/linux.git] / drivers / usb / host / oxu210hp-hcd.c
index 4fe79a2..036924e 100644 (file)
@@ -3087,7 +3087,7 @@ static int oxu_hub_status_data(struct usb_hcd *hcd, char *buf)
        int ports, i, retval = 1;
        unsigned long flags;
 
-       /* if !PM_RUNTIME, root hub timers won't get shut down ... */
+       /* if !PM, root hub timers won't get shut down ... */
        if (!HC_IS_RUNNING(hcd->state))
                return 0;
 
@@ -3846,7 +3846,6 @@ static int oxu_drv_probe(struct platform_device *pdev)
         */
        info = devm_kzalloc(&pdev->dev, sizeof(struct oxu_info), GFP_KERNEL);
        if (!info) {
-               dev_dbg(&pdev->dev, "error allocating memory\n");
                ret = -EFAULT;
                goto error;
        }