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.dos...@streamunlimited.com>
---

Changes in v2:
- Extended commit message.

 drivers/staging/fbtft/fbtft_device.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/drivers/staging/fbtft/fbtft_device.c 
b/drivers/staging/fbtft/fbtft_device.c
index ec84776..22ba81d 100644
--- a/drivers/staging/fbtft/fbtft_device.c
+++ b/drivers/staging/fbtft/fbtft_device.c
@@ -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 []) {
+                                               {},
+                                       },
                                },
                        },
                },
-               },
        }
 };
 
-- 
2.7.4

Reply via email to