summaryrefslogtreecommitdiffstats
path: root/drivers/staging/fbtft/fb_ili9325.c
diff options
context:
space:
mode:
authorAnish Bhatt2015-09-03 09:53:36 +0200
committerGreg Kroah-Hartman2015-09-13 03:24:36 +0200
commit1014c2ce082241db728e0528dd5f1bfb04fd0b06 (patch)
tree23183bd2d22fa2a7aa47915c5d1e3481d7c9584c /drivers/staging/fbtft/fb_ili9325.c
parentstaging/fbtft : Remove unicode characters (diff)
downloadkernel-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_ili9325.c')
-rw-r--r--drivers/staging/fbtft/fb_ili9325.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/staging/fbtft/fb_ili9325.c b/drivers/staging/fbtft/fb_ili9325.c
index 80f0462b4597..92398a0a7e95 100644
--- a/drivers/staging/fbtft/fb_ili9325.c
+++ b/drivers/staging/fbtft/fb_ili9325.c
@@ -32,7 +32,6 @@
#define DEFAULT_GAMMA "0F 00 7 2 0 0 6 5 4 1\n" \
"04 16 2 7 6 3 2 1 7 7"
-
static unsigned bt = 6; /* VGL=Vci*4 , VGH=Vci*4 */
module_param(bt, uint, 0);
MODULE_PARM_DESC(bt, "Sets the factor used in the step-up circuits");
@@ -56,7 +55,6 @@ static unsigned vcm = 0x0a; /* VCOMH=VREG1OUT*0.735 */
module_param(vcm, uint, 0);
MODULE_PARM_DESC(vcm, "Set the internal VcomH voltage");
-
/*
Verify that this configuration is within the Voltage limits
@@ -255,7 +253,6 @@ static int set_gamma(struct fbtft_par *par, unsigned long *curves)
}
#undef CURVE
-
static struct fbtft_display display = {
.regwidth = 16,
.width = WIDTH,
@@ -272,6 +269,7 @@ static struct fbtft_display display = {
.set_gamma = set_gamma,
},
};
+
FBTFT_REGISTER_DRIVER(DRVNAME, "ilitek,ili9325", &display);
MODULE_ALIAS("spi:" DRVNAME);