aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRadek Dostál <radek.dostal@streamunlimited.com>2018-07-02 09:28:49 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-07-02 10:43:10 +0200
commit0d7fa8fa9cbc659ad825aacc3dc53e03400894ea (patch)
treed4ba992749fd6901a9525bd436b5a1635b4bd9b6
parent7651f3abf88e310579afaa56535438df5a1e7cd9 (diff)
downloadstaging-0d7fa8fa9cbc659ad825aacc3dc53e03400894ea.tar.gz
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@streamunlimited.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/staging/fbtft/fbtft_device.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/staging/fbtft/fbtft_device.c b/drivers/staging/fbtft/fbtft_device.c
index ec8477674b7d7..22ba81dbf093c 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 []) {
+ {},
+ },
},
},
},
- },
}
};