Skip to content

Commit

Permalink
staging: fbtft: indent fbtft_device_display - last entry - pdev - dev
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Radek Dostál authored and Greg Kroah-Hartman committed Jul 2, 2018
1 parent 7651f3a commit 0d7fa8f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions drivers/staging/fbtft/fbtft_device.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 []) {
{},
},
},
},
},
},
}
};

Expand Down

0 comments on commit 0d7fa8f

Please sign in to comment.