summaryrefslogtreecommitdiffstats
path: root/drivers/staging/fbtft/fb_ili9340.c
diff options
context:
space:
mode:
authorAnish Bhatt <anish7@gmail.com>2015-09-03 00:53:36 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-09-12 18:24:36 -0700
commit1014c2ce082241db728e0528dd5f1bfb04fd0b06 (patch)
tree23183bd2d22fa2a7aa47915c5d1e3481d7c9584c /drivers/staging/fbtft/fb_ili9340.c
parentc3eeca503db189422ee22bbad7ca52e1febbe276 (diff)
downloadop-kernel-dev-1014c2ce082241db728e0528dd5f1bfb04fd0b06.zip
op-kernel-dev-1014c2ce082241db728e0528dd5f1bfb04fd0b06.tar.gz
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_ili9340.c')
-rw-r--r--drivers/staging/fbtft/fb_ili9340.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/staging/fbtft/fb_ili9340.c b/drivers/staging/fbtft/fb_ili9340.c
index 1bb1abd..7efd8bc1 100644
--- a/drivers/staging/fbtft/fb_ili9340.c
+++ b/drivers/staging/fbtft/fb_ili9340.c
@@ -26,7 +26,6 @@
#define WIDTH 240
#define HEIGHT 320
-
/* Init sequence taken from: Arduino Library for the Adafruit 2.2" display */
static int init_display(struct fbtft_par *par)
{
@@ -133,7 +132,6 @@ static int set_var(struct fbtft_par *par)
return 0;
}
-
static struct fbtft_display display = {
.regwidth = 8,
.width = WIDTH,
@@ -144,6 +142,7 @@ static struct fbtft_display display = {
.set_var = set_var,
},
};
+
FBTFT_REGISTER_DRIVER(DRVNAME, "ilitek,ili9340", &display);
MODULE_ALIAS("spi:" DRVNAME);
OpenPOWER on IntegriCloud