Skip to content

drivers/usb/gadget/amd5536udc.c: code cleanup.

Cyril Roelandt lkml 1 version Applied

Status from this message: applied, thanks

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 9 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/6amd5536udc: Fix brace coding style issues.drivers/usb/gadget/amd5536udc.c+36 -571 reply
2/6amd5536udc: Fix coding style issues.drivers/usb/gadget/amd5536udc.c+4 -41 reply
3/6amd5536udc: Fix indentation.drivers/usb/gadget/amd5536udc.c+3 -31 reply
4/6amd5536udc: use the DEFINE_PCI_DEVICE_TABLE macro.drivers/usb/gadget/amd5536udc.c+1 -11 reply
5/6amd5536udc: fix type of ep_string.drivers/usb/gadget/amd5536udc.c+1 -12 replies
5/6amd5536udc: Fix the type of ep_string.drivers/usb/gadget/amd5536udc.c+1 -12 replies
6/6amd5536udc: Remove old CVS markers.drivers/usb/gadget/amd5536udc.c+1 -11 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/6] drivers/usb/gadget/amd5536udc.c: code cleanup.

Hello,

This series of patches cleans up drivers/usb/gadget/amd5536udc.c, fixing the 33 warnings returned by scripts/checkpatch.pl.

Patch 1/6 removes unneeded braces around one-line statements in if statements and loops.
Patch 2/6 removes unneeded whitespaces before '\n' in various strings. Patch 3/6 fixes the indentation of a block.
Patch 4/6 uses the DEFINE_PCI_DEVICE_TABLE macro rather than "const struct pci_device_id".
Patch 5/6 fixes the type of the ep_string variable.
Patch 6/6 removes a CVS marker that is no longer relevant.

These patches should be trivial and unlikely to break anything.

Regards,
Cyril Roelandt.