[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <1530516529-4443-1-git-send-email-radek.dostal@streamunlimited.com>
Date: Mon, 2 Jul 2018 09:28:49 +0200
From: Radek Dostál <radek.dostal@...eamunlimited.com>
To: gregkh@...uxfoundation.org
Cc: thomas.petazzoni@...e-electrons.com, devel@...verdev.osuosl.org,
linux-kernel@...r.kernel.org,
Radek Dostál <radek.dostal@...eamunlimited.com>
Subject: [PATCH v2] staging: fbtft: indent fbtft_device_display - last entry - pdev - dev
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@...eamunlimited.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
Powered by blists - more mailing lists