staging/fbtft : Fix multiple/missing blank line issues
authorAnish Bhatt <anish7@gmail.com>
Thu, 3 Sep 2015 07:53:36 +0000 (00:53 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 13 Sep 2015 01:24:36 +0000 (18:24 -0700)
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>
31 files changed:
drivers/staging/fbtft/fb_agm1264k-fl.c
drivers/staging/fbtft/fb_bd663474.c
drivers/staging/fbtft/fb_hx8340bn.c
drivers/staging/fbtft/fb_hx8347d.c
drivers/staging/fbtft/fb_hx8353d.c
drivers/staging/fbtft/fb_hx8357d.c
drivers/staging/fbtft/fb_ili9320.c
drivers/staging/fbtft/fb_ili9325.c
drivers/staging/fbtft/fb_ili9340.c
drivers/staging/fbtft/fb_ili9341.c
drivers/staging/fbtft/fb_ili9481.c
drivers/staging/fbtft/fb_ili9486.c
drivers/staging/fbtft/fb_pcd8544.c
drivers/staging/fbtft/fb_ra8875.c
drivers/staging/fbtft/fb_s6d02a1.c
drivers/staging/fbtft/fb_s6d1121.c
drivers/staging/fbtft/fb_ssd1289.c
drivers/staging/fbtft/fb_ssd1306.c
drivers/staging/fbtft/fb_ssd1331.c
drivers/staging/fbtft/fb_ssd1351.c
drivers/staging/fbtft/fb_st7735r.c
drivers/staging/fbtft/fb_tinylcd.c
drivers/staging/fbtft/fb_tls8204.c
drivers/staging/fbtft/fb_uc1701.c
drivers/staging/fbtft/fb_upd161704.c
drivers/staging/fbtft/fb_watterott.c
drivers/staging/fbtft/fbtft-bus.c
drivers/staging/fbtft/fbtft-core.c
drivers/staging/fbtft/fbtft-sysfs.c
drivers/staging/fbtft/fbtft.h
drivers/staging/fbtft/fbtft_device.c

index 1eba1a0653a08b78529c35f64832b8a4711b9191..8eb5e696fa9a625310f2dee5da920d4647bed0e3 100644 (file)
@@ -41,7 +41,6 @@
 #define CS0                    gpio.aux[0]
 #define CS1                    gpio.aux[1]
 
-
 /* diffusing error (Floyd-Steinberg) */
 #define DIFFUSING_MATRIX_WIDTH 2
 #define DIFFUSING_MATRIX_HEIGHT        2
@@ -416,7 +415,6 @@ static int write(struct fbtft_par *par, void *buf, size_t len)
 
        gpio_set_value(par->RW, 0); /* set write mode */
 
-
        while (len--) {
                u8 i, data;
 
@@ -452,6 +450,7 @@ static struct fbtft_display display = {
                .write_vmem = write_vmem,
        },
 };
+
 FBTFT_REGISTER_DRIVER(DRVNAME, "displaytronic,fb_agm1264k-fl", &display);
 
 MODULE_ALIAS("platform:" DRVNAME);
index e3e9ece3f52f5f5e9e4f2f91efec5bfc624ab53b..ea013e9d45e68f873bd03469dc8a0c56034ca61d 100644 (file)
@@ -175,6 +175,7 @@ static struct fbtft_display display = {
                .set_var = set_var,
        },
 };
+
 FBTFT_REGISTER_DRIVER(DRVNAME, "hitachi,bd663474", &display);
 
 MODULE_ALIAS("spi:" DRVNAME);
index d6dd034f32efb5446647fbefe77794c92bbb3678..ff3be1278fd378fbb507941d107fc415c41a94c3 100644 (file)
 #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);
index 00dd9d1bf87700a9b04b1b9efc4fb5f7bf835bbf..996af1acff89705e6c70fa10c903374d42f3ac14 100644 (file)
@@ -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);
index a8b0ae6807b53f9a87a581a850b971ec07331be3..b36f6e1f6fbe2d828cf5732b91ba76d8e21b2567 100644 (file)
@@ -132,7 +132,6 @@ static int set_gamma(struct fbtft_par *par, unsigned long *curves)
        return 0;
 }
 
-
 static struct fbtft_display display = {
        .regwidth = 8,
        .width = 128,
@@ -147,6 +146,7 @@ static struct fbtft_display display = {
                .set_gamma = set_gamma,
        },
 };
+
 FBTFT_REGISTER_DRIVER(DRVNAME, "himax,hx8353d", &display);
 
 MODULE_ALIAS("spi:" DRVNAME);
index 4188bab711d28d082292a0df66ce315d172ee903..3a28a36904bc75f794985237bef29c46559c1802 100644 (file)
@@ -30,7 +30,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__);
@@ -204,6 +203,7 @@ static struct fbtft_display display = {
                .set_var = set_var,
        },
 };
+
 FBTFT_REGISTER_DRIVER(DRVNAME, "himax,hx8357d", &display);
 
 MODULE_ALIAS("spi:" DRVNAME);
index 9bc2a718cef8da41027afce419aaf016679812d6..3164b2b0b63564479340f3ce7f641fb458b5ddd9 100644 (file)
@@ -29,7 +29,6 @@
 #define DEFAULT_GAMMA  "07 07 6 0 0 0 5 5 4 0\n" \
                        "07 08 4 7 5 1 2 0 7 7"
 
-
 static unsigned read_devicecode(struct fbtft_par *par)
 {
        int ret;
@@ -92,7 +91,6 @@ static int init_display(struct fbtft_par *par)
        /* RGB interface polarity */
        write_reg(par, 0x000F, 0x0000);
 
-
        /* ***********Power On sequence *************** */
        /* SAP, BT[3:0], AP, DSTB, SLP, STB */
        write_reg(par, 0x0010, 0x0000);
@@ -258,7 +256,6 @@ static int set_gamma(struct fbtft_par *par, unsigned long *curves)
 }
 #undef CURVE
 
-
 static struct fbtft_display display = {
        .regwidth = 16,
        .width = WIDTH,
@@ -273,6 +270,7 @@ static struct fbtft_display display = {
                .set_gamma = set_gamma,
        },
 };
+
 FBTFT_REGISTER_DRIVER(DRVNAME, "ilitek,ili9320", &display);
 
 MODULE_ALIAS("spi:" DRVNAME);
index 80f0462b45972a5b5ddac8406c454416c0d9bd8f..92398a0a7e957ca9b7dfbd09438d88862c30e391 100644 (file)
@@ -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);
index 1bb1abda93060ba63ecba0d43605e16bd09feecc..7efd8bc1201b654f7bd24e8cbe03facc54a6cccd 100644 (file)
@@ -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);
index b78d481d74a83ac4533cd95c97919829545840c4..6629de352571cdf8c45effb9e87c6bc6be9faa85 100644 (file)
@@ -34,7 +34,6 @@
 #define DEFAULT_GAMMA  "1F 1A 18 0A 0F 06 45 87 32 0A 07 02 07 05 00\n" \
                        "00 25 27 05 10 09 3A 78 4D 05 18 0D 38 3A 1F"
 
-
 static int init_display(struct fbtft_par *par)
 {
        fbtft_par_dbg(DEBUG_INIT_DISPLAY, par, "%s()\n", __func__);
@@ -144,7 +143,6 @@ static int set_gamma(struct fbtft_par *par, unsigned long *curves)
 }
 #undef CURVE
 
-
 static struct fbtft_display display = {
        .regwidth = 8,
        .width = WIDTH,
@@ -160,6 +158,7 @@ static struct fbtft_display display = {
                .set_gamma = set_gamma,
        },
 };
+
 FBTFT_REGISTER_DRIVER(DRVNAME, "ilitek,ili9341", &display);
 
 MODULE_ALIAS("spi:" DRVNAME);
index 8c5581d05a1c0f12b2f539a89b6c16eb588fe857..85387f01d2546c69d88a62ad4b430845baa0d88a 100644 (file)
@@ -98,6 +98,7 @@ static struct fbtft_display display = {
                .set_var = set_var,
        },
 };
+
 FBTFT_REGISTER_DRIVER(DRVNAME, "ilitek,ili9481", &display);
 
 MODULE_ALIAS("spi:" DRVNAME);
index e9d553c9f73ee4f253328b5ad8b20e61425f4826..10068b0d1de987aaae40ab85aafcacb67bb47b3a 100644 (file)
@@ -24,7 +24,6 @@
 #define WIDTH          320
 #define HEIGHT         480
 
-
 /* this init sequence matches PiScreen */
 static int default_init_sequence[] = {
        /* Interface Mode Control */
@@ -91,7 +90,6 @@ static int set_var(struct fbtft_par *par)
        return 0;
 }
 
-
 static struct fbtft_display display = {
        .regwidth = 8,
        .width = WIDTH,
@@ -102,6 +100,7 @@ static struct fbtft_display display = {
                .set_var = set_var,
        },
 };
+
 FBTFT_REGISTER_DRIVER(DRVNAME, "ilitek,ili9486", &display);
 
 MODULE_ALIAS("spi:" DRVNAME);
index 897e2d5e93a24c2b31bb35f8614f500793d752a2..dea698a016faac177968c467544a2ab43cd7aea4 100644 (file)
@@ -40,7 +40,6 @@ static unsigned bs = 4;
 module_param(bs, uint, 0);
 MODULE_PARM_DESC(bs, "BS[2:0] Bias voltage level: 0-7 (default: 4)");
 
-
 static int init_display(struct fbtft_par *par)
 {
        fbtft_par_dbg(DEBUG_INIT_DISPLAY, par, "%s()\n", __func__);
@@ -155,7 +154,6 @@ static int set_gamma(struct fbtft_par *par, unsigned long *curves)
        return 0;
 }
 
-
 static struct fbtft_display display = {
        .regwidth = 8,
        .width = WIDTH,
@@ -172,6 +170,7 @@ static struct fbtft_display display = {
        },
        .backlight = 1,
 };
+
 FBTFT_REGISTER_DRIVER(DRVNAME, "philips,pdc8544", &display);
 
 MODULE_ALIAS("spi:" DRVNAME);
index 65e4fe2d9b6e5d43ceeafc27a4a4eb5b3104b8c5..62ab7fac59df8b14ec5794e82c0a9d5b4ebd340d 100644 (file)
@@ -305,6 +305,7 @@ static struct fbtft_display display = {
                .write = write_spi,
        },
 };
+
 FBTFT_REGISTER_DRIVER(DRVNAME, "raio,ra8875", &display);
 
 MODULE_ALIAS("spi:" DRVNAME);
index 06e94f165531661974d077ea16033e84bc9ec210..0ae5bc6c53a68511d9c3775f3d3c1cd31751f7d9 100644 (file)
@@ -149,6 +149,7 @@ static struct fbtft_display display = {
                .set_var = set_var,
        },
 };
+
 FBTFT_REGISTER_DRIVER(DRVNAME, "samsung,s6d02a1", &display);
 
 MODULE_ALIAS("spi:" DRVNAME);
index 10916bafe676bcec1b426bb9df66e8418dba40ec..e97d1c5d7b3f5bba27380baa91d5283493eab07d 100644 (file)
@@ -171,7 +171,6 @@ static int set_gamma(struct fbtft_par *par, unsigned long *curves)
 }
 #undef CURVE
 
-
 static struct fbtft_display display = {
        .regwidth = 16,
        .width = WIDTH,
@@ -188,6 +187,7 @@ static struct fbtft_display display = {
                .set_gamma = set_gamma,
        },
 };
+
 FBTFT_REGISTER_DRIVER(DRVNAME, "samsung,s6d1121", &display);
 
 MODULE_ALIAS("spi:" DRVNAME);
index d602aecff67f6098c5c0228e4fc41b4e5678950f..96039b4e5505ce1f45f2d94c4021989fe3ba140b 100644 (file)
@@ -33,7 +33,6 @@ static unsigned reg11 = 0x6040;
 module_param(reg11, uint, 0);
 MODULE_PARM_DESC(reg11, "Register 11h value");
 
-
 static int init_display(struct fbtft_par *par)
 {
        fbtft_par_dbg(DEBUG_INIT_DISPLAY, par, "%s()\n", __func__);
@@ -171,7 +170,6 @@ static int set_gamma(struct fbtft_par *par, unsigned long *curves)
 }
 #undef CURVE
 
-
 static struct fbtft_display display = {
        .regwidth = 16,
        .width = WIDTH,
@@ -186,6 +184,7 @@ static struct fbtft_display display = {
                .set_gamma = set_gamma,
        },
 };
+
 FBTFT_REGISTER_DRIVER(DRVNAME, "solomon,ssd1289", &display);
 
 MODULE_ALIAS("spi:" DRVNAME);
index 171fac438845ef3755ca98b51715b5f3a7cb835e..6013b68362c04d60f0518cd1926723717f04c591 100644 (file)
@@ -26,7 +26,6 @@
 #define WIDTH          128
 #define HEIGHT         64
 
-
 /*
   write_reg() caveat:
 
@@ -192,7 +191,6 @@ static int write_vmem(struct fbtft_par *par, size_t offset, size_t len)
        return ret;
 }
 
-
 static struct fbtft_display display = {
        .regwidth = 8,
        .width = WIDTH,
@@ -209,7 +207,6 @@ static struct fbtft_display display = {
        },
 };
 
-
 FBTFT_REGISTER_DRIVER(DRVNAME, "solomon,ssd1306", &display);
 
 MODULE_ALIAS("spi:" DRVNAME);
index a880ff6e713a134fd5456497bd4b9de6f74fe9e7..9ac75f6822a9ce8c2eb75537a6e7257061f42513 100644 (file)
@@ -123,7 +123,6 @@ static void write_reg8_bus8(struct fbtft_par *par, int len, ...)
                        :
                        Setting of GS63 has to be > Setting of GS62 +1
 
-
 */
 static int set_gamma(struct fbtft_par *par, unsigned long *curves)
 {
@@ -173,7 +172,6 @@ static int blank(struct fbtft_par *par, bool on)
        return 0;
 }
 
-
 static struct fbtft_display display = {
        .regwidth = 8,
        .width = WIDTH,
index ecd378e4d0d4b0a6c90c4a4058e999ff9714a971..7e3762d5aa2a7dbad07cda4586ae43117469fad3 100644 (file)
@@ -120,7 +120,6 @@ static int set_var(struct fbtft_par *par)
                        :
                        Setting of GS63 has to be > Setting of GS62 +1
 
-
 */
 static int set_gamma(struct fbtft_par *par, unsigned long *curves)
 {
@@ -170,7 +169,6 @@ static int blank(struct fbtft_par *par, bool on)
        return 0;
 }
 
-
 static struct fbtft_display display = {
        .regwidth = 8,
        .width = WIDTH,
@@ -236,7 +234,6 @@ static void register_onboard_backlight(struct fbtft_par *par)
 static void register_onboard_backlight(struct fbtft_par *par) { };
 #endif
 
-
 FBTFT_REGISTER_DRIVER(DRVNAME, "solomon,ssd1351", &display);
 
 MODULE_ALIAS("spi:" DRVNAME);
index 5cba98c137ca523374b8b7f9a5e6543edef1435f..d7a716de8006e2cc185511e62993e16b1335eaf7 100644 (file)
@@ -24,7 +24,6 @@
 #define DEFAULT_GAMMA   "0F 1A 0F 18 2F 28 20 22 1F 1B 23 37 00 07 02 10\n" \
                        "0F 1B 0F 17 33 2C 29 2E 30 30 39 3F 00 07 03 10"
 
-
 static int default_init_sequence[] = {
        /* SWRESET - Software reset */
        -1, 0x01,
@@ -161,7 +160,6 @@ static int set_gamma(struct fbtft_par *par, unsigned long *curves)
 }
 #undef CURVE
 
-
 static struct fbtft_display display = {
        .regwidth = 8,
        .width = 128,
@@ -176,6 +174,7 @@ static struct fbtft_display display = {
                .set_gamma = set_gamma,
        },
 };
+
 FBTFT_REGISTER_DRIVER(DRVNAME, "sitronix,st7735r", &display);
 
 MODULE_ALIAS("spi:" DRVNAME);
index f159bbc2731ea273679376300bfefc35712cf9fe..04d1e344a3a0e6b0a265e58953f0823486218f6f 100644 (file)
@@ -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);
index 2e3f9148dfd02f172a8f3a20e9609c1ec05589ee..e7dd41ffe2feca8b3e24ebbf629c89d25c23b592 100644 (file)
@@ -147,7 +147,6 @@ static int set_gamma(struct fbtft_par *par, unsigned long *curves)
        return 0;
 }
 
-
 static struct fbtft_display display = {
        .regwidth = 8,
        .width = WIDTH,
@@ -164,6 +163,7 @@ static struct fbtft_display display = {
        },
        .backlight = 1,
 };
+
 FBTFT_REGISTER_DRIVER(DRVNAME, "teralane,tls8204", &display);
 
 MODULE_ALIAS("spi:" DRVNAME);
index d40d0a83949603e695740b40f968c1ea44ceaf93..e94ecd683c43abb5749a1e59d785372ed1e9031f 100644 (file)
@@ -69,7 +69,6 @@
 /* column offset for bottom view orientation */
 #define SHIFT_ADDR_TOPVIEW    30
 
-
 static int init_display(struct fbtft_par *par)
 {
        fbtft_par_dbg(DEBUG_INIT_DISPLAY, par, "%s()\n", __func__);
@@ -183,7 +182,6 @@ static int write_vmem(struct fbtft_par *par, size_t offset, size_t len)
        return ret;
 }
 
-
 static struct fbtft_display display = {
        .regwidth = 8,
        .width = WIDTH,
@@ -195,6 +193,7 @@ static struct fbtft_display display = {
        },
        .backlight = 1,
 };
+
 FBTFT_REGISTER_DRIVER(DRVNAME, "UltraChip,uc1701", &display);
 
 MODULE_ALIAS("spi:" DRVNAME);
index b480563a21f0a9b5e75f01c8be89ad432e45b993..f0011ee9868be9040feb63f9515b401cdd2b5bb1 100644 (file)
@@ -188,6 +188,7 @@ static struct fbtft_display display = {
                .set_var = set_var,
        },
 };
+
 FBTFT_REGISTER_DRIVER(DRVNAME, "nec,upd161704", &display);
 
 MODULE_ALIAS("spi:" DRVNAME);
index 3000f75783a9dcda8debeee2a413fbb582113984..01126a5f8648d6d33e1543062c4f52aef6e65d4b 100644 (file)
@@ -39,7 +39,6 @@
 #define COLOR_RGB233           10
 #define COLOR_RGB565           16
 
-
 static short mode = 565;
 module_param(mode, short, 0);
 MODULE_PARM_DESC(mode, "RGB color transfer mode: 332, 565 (default)");
@@ -286,7 +285,6 @@ static void register_chip_backlight(struct fbtft_par *par)
 #define register_chip_backlight NULL
 #endif
 
-
 static struct fbtft_display display = {
        .regwidth = 8,
        .buswidth = 8,
@@ -304,6 +302,7 @@ static struct fbtft_display display = {
                .register_backlight = register_chip_backlight,
        },
 };
+
 FBTFT_REGISTER_DRIVER(DRVNAME, "watterott,openlcd", &display);
 
 MODULE_ALIAS("spi:" DRVNAME);
index 912c6328fb872b2b44e403099f1dc16ece47c988..0e0def4be563be79b36fb6583935eb65efb06587 100644 (file)
@@ -4,9 +4,6 @@
 #include <linux/spi/spi.h>
 #include "fbtft.h"
 
-
-
-
 /*****************************************************************************
  *
  *   void (*write_reg)(struct fbtft_par *par, int len, ...);
@@ -117,9 +114,6 @@ void fbtft_write_reg8_bus9(struct fbtft_par *par, int len, ...)
 }
 EXPORT_SYMBOL(fbtft_write_reg8_bus9);
 
-
-
-
 /*****************************************************************************
  *
  *   int (*write_vmem)(struct fbtft_par *par);
index 56a3a7f07637680f2111b32b41cf76d8cad79a25..fa813999aca7dbba7002575656ee300abcc98841 100644 (file)
@@ -49,7 +49,6 @@ module_param(dma, bool, 0);
 MODULE_PARM_DESC(dma, "Use DMA buffer");
 #endif
 
-
 void fbtft_dbg_hex(const struct device *dev, int groupsize,
                        void *buf, size_t len, const char *fmt, ...)
 {
@@ -336,7 +335,6 @@ static void fbtft_set_addr_win(struct fbtft_par *par, int xs, int ys, int xe,
        write_reg(par, 0x2C);
 }
 
-
 static void fbtft_reset(struct fbtft_par *par)
 {
        if (par->gpio.reset == -1)
@@ -348,7 +346,6 @@ static void fbtft_reset(struct fbtft_par *par)
        mdelay(120);
 }
 
-
 static void fbtft_update_display(struct fbtft_par *par, unsigned start_line,
                                 unsigned end_line)
 {
@@ -427,7 +424,6 @@ static void fbtft_update_display(struct fbtft_par *par, unsigned start_line,
        }
 }
 
-
 static void fbtft_mkdirty(struct fb_info *info, int y, int height)
 {
        struct fbtft_par *par = info->par;
@@ -489,7 +485,6 @@ static void fbtft_deferred_io(struct fb_info *info, struct list_head *pagelist)
                                        dirty_lines_start, dirty_lines_end);
 }
 
-
 static void fbtft_fb_fillrect(struct fb_info *info,
                              const struct fb_fillrect *rect)
 {
index c4cc452f9f2bf654ba019a71072e65a9ec3cdb28..73c7ec6de077d1c34614e8dbebae78ff16576060 100644 (file)
@@ -149,7 +149,6 @@ static struct device_attribute gamma_device_attrs[] = {
        __ATTR(gamma, 0660, show_gamma_curve, store_gamma_curve),
 };
 
-
 void fbtft_expand_debug_value(unsigned long *debug)
 {
        switch (*debug & 0x7) {
@@ -205,7 +204,6 @@ static ssize_t show_debug(struct device *device,
 static struct device_attribute debug_device_attr = \
        __ATTR(debug, 0660, show_debug, store_debug);
 
-
 void fbtft_sysfs_init(struct fbtft_par *par)
 {
        device_create_file(par->info->dev, &debug_device_attr);
index 379f6623088f6ff5b5575271d7fe996456f95bb8..6dd42b28d594070b74c22f667a5bb6b45bdc9b55 100644 (file)
@@ -20,7 +20,6 @@
 #include <linux/spi/spi.h>
 #include <linux/platform_device.h>
 
-
 #define FBTFT_NOP              0x00
 #define FBTFT_SWRESET  0x01
 #define FBTFT_RDDID            0x04
@@ -291,7 +290,6 @@ void fbtft_write_reg8_bus9(struct fbtft_par *par, int len, ...);
 void fbtft_write_reg16_bus8(struct fbtft_par *par, int len, ...);
 void fbtft_write_reg16_bus16(struct fbtft_par *par, int len, ...);
 
-
 #define FBTFT_REGISTER_DRIVER(_name, _compatible, _display)                \
                                                                           \
 static int fbtft_driver_probe_spi(struct spi_device *spi)                  \
@@ -365,7 +363,6 @@ static void __exit fbtft_driver_module_exit(void)                          \
 module_init(fbtft_driver_module_init);                                     \
 module_exit(fbtft_driver_module_exit);
 
-
 /* Debug macros */
 
 /* shorthand debug levels */
@@ -411,7 +408,6 @@ module_exit(fbtft_driver_module_exit);
 #define DEBUG_REQUEST_GPIOS_MATCH   (1<<30)
 #define DEBUG_VERIFY_GPIOS          (1<<31)
 
-
 #define fbtft_init_dbg(dev, format, arg...)                  \
 do {                                                         \
        if (unlikely((dev)->platform_data &&                 \
@@ -425,7 +421,6 @@ do {                                                         \
                dev_info(par->info->device, format, ##arg);  \
 } while (0)
 
-
 #define fbtft_par_dbg_hex(level, par, dev, type, buf, num, format, arg...) \
 do {                                                                       \
        if (unlikely(par->debug & level))                                  \
index 7730e107c4167f7102d08c91b9fd10536233974e..e9c2040b01292960a9027dfc97806175453c44df 100644 (file)
@@ -111,7 +111,6 @@ module_param(verbose, uint, 0);
 MODULE_PARM_DESC(verbose,
 "0 silent, >0 show gpios, >1 show devices, >2 show devices before (default=3)");
 
-
 struct fbtft_device_display {
        char *name;
        struct spi_board_info *spi;
This page took 0.056564 seconds and 5 git commands to generate.