xhci: minor coding style cleanup in 'xhci_try_enable_msi()'
authorNiklas Neronin <niklas.neronin@linux.intel.com>
Fri, 1 Dec 2023 15:06:45 +0000 (17:06 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 4 Dec 2023 06:50:40 +0000 (07:50 +0100)
Remove extra spaces/indentation and add spaces where required.
This commit does not change any functionality.

Signed-off-by: Niklas Neronin <niklas.neronin@linux.intel.com>
Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Link: https://lore.kernel.org/r/20231201150647.1307406-18-mathias.nyman@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/xhci-pci.c

index 398f81b0500be02e02ce4d10342c690037a92459..dfeca3cbac8bb626d20d5e756bb9613c167c0de0 100644 (file)
@@ -178,12 +178,10 @@ legacy_irq:
                snprintf(hcd->irq_descr, sizeof(hcd->irq_descr), "%s:usb%d",
                         hcd->driver->description, hcd->self.busnum);
 
-       /* fall back to legacy interrupt*/
-       ret = request_irq(pdev->irq, &usb_hcd_irq, IRQF_SHARED,
-                       hcd->irq_descr, hcd);
+       /* fall back to legacy interrupt */
+       ret = request_irq(pdev->irq, &usb_hcd_irq, IRQF_SHARED, hcd->irq_descr, hcd);
        if (ret) {
-               xhci_err(xhci, "request interrupt %d failed\n",
-                               pdev->irq);
+               xhci_err(xhci, "request interrupt %d failed\n", pdev->irq);
                return ret;
        }
        hcd->irq = pdev->irq;