summaryrefslogtreecommitdiffstats
path: root/drivers/staging/fbtft/fb_hx8347d.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_hx8347d.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_hx8347d.c')
-rw-r--r--drivers/staging/fbtft/fb_hx8347d.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/staging/fbtft/fb_hx8347d.c b/drivers/staging/fbtft/fb_hx8347d.c
index 00dd9d1bf877..996af1acff89 100644
--- a/drivers/staging/fbtft/fb_hx8347d.c
+++ b/drivers/staging/fbtft/fb_hx8347d.c
@@ -29,7 +29,6 @@
#define DEFAULT_GAMMA "0 0 0 0 0 0 0 0 0 0 0 0 0 0\n" \
"0 0 0 0 0 0 0 0 0 0 0 0 0 0"
-
static int init_display(struct fbtft_par *par)
{
fbtft_par_dbg(DEBUG_INIT_DISPLAY, par, "%s()\n", __func__);
@@ -147,7 +146,6 @@ static int set_gamma(struct fbtft_par *par, unsigned long *curves)
}
#undef CURVE
-
static struct fbtft_display display = {
.regwidth = 8,
.width = WIDTH,
@@ -161,6 +159,7 @@ static struct fbtft_display display = {
.set_gamma = set_gamma,
},
};
+
FBTFT_REGISTER_DRIVER(DRVNAME, "himax,hx8347d", &display);
MODULE_ALIAS("spi:" DRVNAME);