summaryrefslogtreecommitdiff
path: root/payloads/libpayload/drivers/usb/usbinit.c
diff options
context:
space:
mode:
authorYidi Lin <yidilin@chromium.org>2022-08-10 14:59:18 +0800
committerMartin Roth <martin.roth@amd.corp-partner.google.com>2022-08-12 17:17:53 +0000
commit5ef258b3f6a6481d20f1fca0f60db894b80649ab (patch)
tree8fc99f95a5c066384e15bd464f04a327b3d10bb7 /payloads/libpayload/drivers/usb/usbinit.c
parentad6b27e9efa84d121b1d55db44fd35a8a52635cc (diff)
libpayload: usb: Fix spacing issues
Found by: find payloads/libpayload/drivers/usb -type f -name "*.[ch]" | xargs \ util/lint/checkpatch.pl --types SPACING -q --fix-inplace -f Change-Id: Id23e2e573e475c6d795812a4b2df9aeffbcaaaf4 Signed-off-by: Yidi Lin <yidilin@chromium.org> Reviewed-on: https://review.coreboot.org/c/coreboot/+/66596 Reviewed-by: Yu-Ping Wu <yupingso@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'payloads/libpayload/drivers/usb/usbinit.c')
-rw-r--r--payloads/libpayload/drivers/usb/usbinit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/payloads/libpayload/drivers/usb/usbinit.c b/payloads/libpayload/drivers/usb/usbinit.c
index 499a46629f..a234b00e4b 100644
--- a/payloads/libpayload/drivers/usb/usbinit.c
+++ b/payloads/libpayload/drivers/usb/usbinit.c
@@ -52,7 +52,7 @@ static int usb_controller_initialize(int bus, int dev, int func)
pcidev_t pci_device;
u32 pciid;
- pci_device = PCI_DEV (bus, dev, func);
+ pci_device = PCI_DEV(bus, dev, func);
class = pci_read_config32(pci_device, 8);
pciid = pci_read_config32(pci_device, 0);
@@ -73,7 +73,7 @@ static int usb_controller_initialize(int bus, int dev, int func)
case 0x00:
#if CONFIG(LP_USB_UHCI)
usb_debug("UHCI controller\n");
- uhci_pci_init (pci_device);
+ uhci_pci_init(pci_device);
#else
usb_debug("UHCI controller (not supported)\n");
#endif