diff options
author | Yidi Lin <yidilin@chromium.org> | 2022-08-10 14:59:18 +0800 |
---|---|---|
committer | Martin Roth <martin.roth@amd.corp-partner.google.com> | 2022-08-12 17:17:53 +0000 |
commit | 5ef258b3f6a6481d20f1fca0f60db894b80649ab (patch) | |
tree | 8fc99f95a5c066384e15bd464f04a327b3d10bb7 /payloads/libpayload/drivers/usb/usb_dev.c | |
parent | ad6b27e9efa84d121b1d55db44fd35a8a52635cc (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/usb_dev.c')
-rw-r--r-- | payloads/libpayload/drivers/usb/usb_dev.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/payloads/libpayload/drivers/usb/usb_dev.c b/payloads/libpayload/drivers/usb/usb_dev.c index 4398244379..fe6ca8e896 100644 --- a/payloads/libpayload/drivers/usb/usb_dev.c +++ b/payloads/libpayload/drivers/usb/usb_dev.c @@ -29,22 +29,22 @@ #include <usb/usb.h> static void -usb_nop_destroy (usbdev_t *dev) +usb_nop_destroy(usbdev_t *dev) { - usb_nop_init (dev); + usb_nop_init(dev); dev->address = -1; dev->hub = -1; dev->port = -1; } static void -usb_nop_poll (usbdev_t *dev) +usb_nop_poll(usbdev_t *dev) { return; } void -usb_nop_init (usbdev_t *dev) +usb_nop_init(usbdev_t *dev) { dev->descriptor = NULL; dev->configuration = NULL; |