]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
usb: musb_am335x: source cleanup
authorLothar Waßmann <LW@KARO-electronics.de>
Thu, 17 Jul 2014 09:51:12 +0000 (11:51 +0200)
committerLothar Waßmann <LW@KARO-electronics.de>
Thu, 17 Jul 2014 12:57:21 +0000 (14:57 +0200)
- remove comma after end of list delimiter
  The empty entry must always be the last item in the list, thus there
  is no point in having a trailing comma to facilitate adding
  succeding entries.
  Remove the comma, so that inadvertedly adding an entry after the end
  of list sentinel will produce a compile time error rather than an
  unreachable entry in the list.
- consistently use tabs for indentation

drivers/usb/musb/musb_am335x.c

index d2353781bd2de88444228943da9db8c57bafb269..c7c8d273d7cd3be9480d0899b65ac408052da083 100644 (file)
@@ -36,15 +36,15 @@ static int am335x_child_remove(struct platform_device *pdev)
 
 static const struct of_device_id am335x_child_of_match[] = {
        { .compatible = "ti,am33xx-usb" },
-       {  },
+       {  }
 };
 MODULE_DEVICE_TABLE(of, am335x_child_of_match);
 
 static struct platform_driver am335x_child_driver = {
        .probe          = am335x_child_probe,
-       .remove         = am335x_child_remove,
-       .driver         = {
-               .name   = "am335x-usb-childs",
+       .remove         = am335x_child_remove,
+       .driver         = {
+               .name   = "am335x-usb-childs",
                .of_match_table = am335x_child_of_match,
        },
 };