diff options
author | Jack Rosenthal <jrosenth@chromium.org> | 2022-06-27 15:06:46 -0600 |
---|---|---|
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2022-06-29 00:50:18 +0000 |
commit | a8f99edf161a8cac86af77cf08063e6a06e3e884 (patch) | |
tree | ed032d41ccc5d95cb94927accac5a3ad6200fab0 /extra | |
parent | 4b726816f8c90d4a2d5312e63e41d857fee28e36 (diff) | |
download | chrome-ec-a8f99edf161a8cac86af77cf08063e6a06e3e884.tar.gz |
extra/usb_serial/raiden.c: Format with clang-format
BUG=b:236386294
BRANCH=none
TEST=none
Change-Id: Icb5b66f4000902a76ebd4209af3008b2c83ca53f
Signed-off-by: Jack Rosenthal <jrosenth@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3730189
Reviewed-by: Jeremy Bettis <jbettis@chromium.org>
Diffstat (limited to 'extra')
-rw-r--r-- | extra/usb_serial/raiden.c | 25 |
1 files changed, 11 insertions, 14 deletions
diff --git a/extra/usb_serial/raiden.c b/extra/usb_serial/raiden.c index e4720b4357..5461f00bb5 100644 --- a/extra/usb_serial/raiden.c +++ b/extra/usb_serial/raiden.c @@ -19,28 +19,25 @@ MODULE_LICENSE("GPL"); -#define USB_VENDOR_ID_GOOGLE 0x18d1 -#define USB_SUBCLASS_GOOGLE_SERIAL 0x50 -#define USB_PROTOCOL_GOOGLE_SERIAL 0x01 +#define USB_VENDOR_ID_GOOGLE 0x18d1 +#define USB_SUBCLASS_GOOGLE_SERIAL 0x50 +#define USB_PROTOCOL_GOOGLE_SERIAL 0x01 static struct usb_device_id const ids[] = { - { USB_VENDOR_AND_INTERFACE_INFO(USB_VENDOR_ID_GOOGLE, - USB_CLASS_VENDOR_SPEC, - USB_SUBCLASS_GOOGLE_SERIAL, - USB_PROTOCOL_GOOGLE_SERIAL) }, - { 0 } + { USB_VENDOR_AND_INTERFACE_INFO( + USB_VENDOR_ID_GOOGLE, USB_CLASS_VENDOR_SPEC, + USB_SUBCLASS_GOOGLE_SERIAL, USB_PROTOCOL_GOOGLE_SERIAL) }, + { 0 } }; MODULE_DEVICE_TABLE(usb, ids); -static struct usb_serial_driver device = -{ - .driver = { .owner = THIS_MODULE, - .name = "Google" }, - .id_table = ids, +static struct usb_serial_driver device = { + .driver = { .owner = THIS_MODULE, .name = "Google" }, + .id_table = ids, .num_ports = 1, }; -static struct usb_serial_driver * const drivers[] = { &device, NULL }; +static struct usb_serial_driver *const drivers[] = { &device, NULL }; module_usb_serial_driver(drivers, ids); |