OSDN Git Service

staging: fbtft: indent fbtft_device_display - last entry - pdev - dev
authorRadek Dostál <radek.dostal@streamunlimited.com>
Mon, 2 Jul 2018 07:28:49 +0000 (09:28 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 2 Jul 2018 08:43:10 +0000 (10:43 +0200)
The dev section was opening curly bracket, but not adding ident, which
resulted in two times "}," after each other with same indentation. Add
ident at the right place fixes this problem.

This formatting issue is not detectable by checkpatch.pl

Signed-off-by: Radek Dostál <radek.dostal@streamunlimited.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/fbtft/fbtft_device.c

index ec84776..22ba81d 100644 (file)
@@ -1223,14 +1223,14 @@ static struct fbtft_device_display displays[] = {
                        .name = "",
                        .id = 0,
                        .dev = {
-                       .release = fbtft_device_pdev_release,
-                       .platform_data = &(struct fbtft_platform_data) {
-                               .gpios = (const struct fbtft_gpio []) {
-                                       {},
+                               .release = fbtft_device_pdev_release,
+                               .platform_data = &(struct fbtft_platform_data) {
+                                       .gpios = (const struct fbtft_gpio []) {
+                                               {},
+                                       },
                                },
                        },
                },
-               },
        }
 };