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_hx8340bn.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_hx8340bn.c')
-rw-r--r-- | drivers/staging/fbtft/fb_hx8340bn.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/staging/fbtft/fb_hx8340bn.c b/drivers/staging/fbtft/fb_hx8340bn.c index d6dd034f32ef..ff3be1278fd3 100644 --- a/drivers/staging/fbtft/fb_hx8340bn.c +++ b/drivers/staging/fbtft/fb_hx8340bn.c @@ -35,12 +35,10 @@ #define DEFAULT_GAMMA "1 3 0E 5 0 2 09 0 6 1 7 1 0 2 2\n" \ "3 3 17 8 4 7 05 7 6 0 3 1 6 0 0 " - static bool emulate; module_param(emulate, bool, 0); MODULE_PARM_DESC(emulate, "Force emulation in 9-bit mode"); - static int init_display(struct fbtft_par *par) { par->fbtftops.reset(par); @@ -188,7 +186,6 @@ static int set_gamma(struct fbtft_par *par, unsigned long *curves) } #undef CURVE - static struct fbtft_display display = { .regwidth = 8, .width = WIDTH, @@ -204,6 +201,7 @@ static struct fbtft_display display = { .set_gamma = set_gamma, }, }; + FBTFT_REGISTER_DRIVER(DRVNAME, "himax,hx8340bn", &display); MODULE_ALIAS("spi:" DRVNAME); |