diff options
author | Anish Bhatt | 2015-09-03 09:53:36 +0200 |
---|---|---|
committer | Greg Kroah-Hartman | 2015-09-13 03:24:36 +0200 |
commit | 1014c2ce082241db728e0528dd5f1bfb04fd0b06 (patch) | |
tree | 23183bd2d22fa2a7aa47915c5d1e3481d7c9584c /drivers/staging/fbtft/fb_st7735r.c | |
parent | staging/fbtft : Remove unicode characters (diff) | |
download | kernel-qcow2-linux-1014c2ce082241db728e0528dd5f1bfb04fd0b06.tar.gz kernel-qcow2-linux-1014c2ce082241db728e0528dd5f1bfb04fd0b06.tar.xz kernel-qcow2-linux-1014c2ce082241db728e0528dd5f1bfb04fd0b06.zip |
staging/fbtft : Fix multiple/missing blank line issues
Remove or add blank lines as recommended by checkpatch.pl
Signed-off-by: Anish Bhatt <anish@chelsio.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/fbtft/fb_st7735r.c')
-rw-r--r-- | drivers/staging/fbtft/fb_st7735r.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/staging/fbtft/fb_st7735r.c b/drivers/staging/fbtft/fb_st7735r.c index 5cba98c137ca..d7a716de8006 100644 --- a/drivers/staging/fbtft/fb_st7735r.c +++ b/drivers/staging/fbtft/fb_st7735r.c @@ -24,7 +24,6 @@ #define DEFAULT_GAMMA "0F 1A 0F 18 2F 28 20 22 1F 1B 23 37 00 07 02 10\n" \ "0F 1B 0F 17 33 2C 29 2E 30 30 39 3F 00 07 03 10" - static int default_init_sequence[] = { /* SWRESET - Software reset */ -1, 0x01, @@ -161,7 +160,6 @@ static int set_gamma(struct fbtft_par *par, unsigned long *curves) } #undef CURVE - static struct fbtft_display display = { .regwidth = 8, .width = 128, @@ -176,6 +174,7 @@ static struct fbtft_display display = { .set_gamma = set_gamma, }, }; + FBTFT_REGISTER_DRIVER(DRVNAME, "sitronix,st7735r", &display); MODULE_ALIAS("spi:" DRVNAME); |