diff options
author | Anish Bhatt <anish7@gmail.com> | 2015-09-03 00:53:36 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-09-12 18:24:36 -0700 |
commit | 1014c2ce082241db728e0528dd5f1bfb04fd0b06 (patch) | |
tree | 23183bd2d22fa2a7aa47915c5d1e3481d7c9584c /drivers/staging/fbtft/fb_tinylcd.c | |
parent | c3eeca503db189422ee22bbad7ca52e1febbe276 (diff) | |
download | op-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_tinylcd.c')
-rw-r--r-- | drivers/staging/fbtft/fb_tinylcd.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/staging/fbtft/fb_tinylcd.c b/drivers/staging/fbtft/fb_tinylcd.c index f159bbc..04d1e34 100644 --- a/drivers/staging/fbtft/fb_tinylcd.c +++ b/drivers/staging/fbtft/fb_tinylcd.c @@ -25,7 +25,6 @@ #define WIDTH 320 #define HEIGHT 480 - static int init_display(struct fbtft_par *par) { fbtft_par_dbg(DEBUG_INIT_DISPLAY, par, "%s()\n", __func__); @@ -96,7 +95,6 @@ static int set_var(struct fbtft_par *par) return 0; } - static struct fbtft_display display = { .regwidth = 8, .width = WIDTH, @@ -107,6 +105,7 @@ static struct fbtft_display display = { .set_var = set_var, }, }; + FBTFT_REGISTER_DRIVER(DRVNAME, "neosec,tinylcd", &display); MODULE_ALIAS("spi:" DRVNAME); |