diff options
author | Anish Bhatt <anish7@gmail.com> | 2015-09-03 10:53:36 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-09-13 04:24:36 +0300 |
commit | 1014c2ce082241db728e0528dd5f1bfb04fd0b06 (patch) | |
tree | 23183bd2d22fa2a7aa47915c5d1e3481d7c9584c /drivers/staging/fbtft/fb_ili9340.c | |
parent | c3eeca503db189422ee22bbad7ca52e1febbe276 (diff) | |
download | linux-1014c2ce082241db728e0528dd5f1bfb04fd0b06.tar.xz |
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.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/staging/fbtft/fb_ili9340.c b/drivers/staging/fbtft/fb_ili9340.c index 1bb1abda9306..7efd8bc1201b 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); |