]> git.karo-electronics.de Git - linux-beck.git/commitdiff
Staging: fbtft: Remove debug messages
authorShraddha Barke <shraddha.6596@gmail.com>
Mon, 21 Sep 2015 13:27:10 +0000 (18:57 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 21 Sep 2015 16:56:50 +0000 (09:56 -0700)
Remove debug messages related to fbtft_par_dbg(DEBUG_INIT_DISPLAY.. )
as this info can be obtained using kernel function tracer

Signed-off-by: Shraddha Barke <shraddha.6596@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
27 files changed:
drivers/staging/fbtft/fb_agm1264k-fl.c
drivers/staging/fbtft/fb_bd663474.c
drivers/staging/fbtft/fb_hx8347d.c
drivers/staging/fbtft/fb_hx8353d.c
drivers/staging/fbtft/fb_hx8357d.c
drivers/staging/fbtft/fb_ili9163.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_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_uc1611.c
drivers/staging/fbtft/fb_uc1701.c
drivers/staging/fbtft/fb_upd161704.c
drivers/staging/fbtft/fb_watterott.c
drivers/staging/fbtft/fbtft-core.c

index 8eb5e696fa9a625310f2dee5da920d4647bed0e3..2a2d53c70501405ed427bf362ef6d32a5ed00d50 100644 (file)
@@ -74,8 +74,6 @@ static int init_display(struct fbtft_par *par)
 {
        u8 i;
 
-       fbtft_par_dbg(DEBUG_INIT_DISPLAY, par, "%s()\n", __func__);
-
        par->fbtftops.reset(par);
 
        for (i = 0; i < 2; ++i) {
index ea013e9d45e68f873bd03469dc8a0c56034ca61d..6010e6cbbd723d05eab2868d8906b226e17381d5 100644 (file)
@@ -33,8 +33,6 @@
 
 static int init_display(struct fbtft_par *par)
 {
-       fbtft_par_dbg(DEBUG_INIT_DISPLAY, par, "%s()\n", __func__);
-
        if (par->gpio.cs != -1)
                gpio_set_value(par->gpio.cs, 0);  /* Activate chip */
 
@@ -143,8 +141,6 @@ static void set_addr_win(struct fbtft_par *par, int xs, int ys, int xe, int ye)
 
 static int set_var(struct fbtft_par *par)
 {
-       fbtft_par_dbg(DEBUG_INIT_DISPLAY, par, "%s()\n", __func__);
-
        switch (par->info->var.rotate) {
        /* AM: GRAM update direction */
        case 0:
index 8b3ee2460b8c70b23483046ae0f2d6c236c5a076..6ff76e531a37131855f22c7865fd6139b740bf88 100644 (file)
@@ -31,8 +31,6 @@
 
 static int init_display(struct fbtft_par *par)
 {
-       fbtft_par_dbg(DEBUG_INIT_DISPLAY, par, "%s()\n", __func__);
-
        par->fbtftops.reset(par);
 
        /* driving ability */
@@ -113,8 +111,6 @@ static int set_gamma(struct fbtft_par *par, unsigned long *curves)
        int i, j;
        int acc = 0;
 
-       fbtft_par_dbg(DEBUG_INIT_DISPLAY, par, "%s()\n", __func__);
-
        /* apply mask */
        for (i = 0; i < par->gamma.num_curves; i++)
                for (j = 0; j < par->gamma.num_values; j++) {
index b36f6e1f6fbe2d828cf5732b91ba76d8e21b2567..8552411695fa8904dd54b77933b9308117ce18e7 100644 (file)
@@ -28,8 +28,6 @@
 static int init_display(struct fbtft_par *par)
 {
 
-       fbtft_par_dbg(DEBUG_INIT_DISPLAY, par, "%s()\n", __func__);
-
        par->fbtftops.reset(par);
        mdelay(150);
 
@@ -89,8 +87,6 @@ static void set_addr_win(struct fbtft_par *par, int xs, int ys, int xe, int ye)
 #define mv BIT(5)
 static int set_var(struct fbtft_par *par)
 {
-       fbtft_par_dbg(DEBUG_INIT_DISPLAY, par, "%s()\n", __func__);
-
        /* madctl - memory data access control
             rgb/bgr:
             1. mode selection pin srgb
@@ -120,8 +116,6 @@ static int set_var(struct fbtft_par *par)
 */
 static int set_gamma(struct fbtft_par *par, unsigned long *curves)
 {
-       fbtft_par_dbg(DEBUG_INIT_DISPLAY, par, "%s()\n", __func__);
-
        write_reg(par, 0xE0,
                curves[0], curves[1], curves[2], curves[3],
                curves[4], curves[5], curves[6], curves[7],
index 3a28a36904bc75f794985237bef29c46559c1802..a381dbcf5535bd1f7d9ab2fe6bbd25fd5b6395b1 100644 (file)
@@ -32,8 +32,6 @@
 
 static int init_display(struct fbtft_par *par)
 {
-       fbtft_par_dbg(DEBUG_INIT_DISPLAY, par, "%s()\n", __func__);
-
        par->fbtftops.reset(par);
 
        /* Reset things like Gamma */
@@ -166,8 +164,6 @@ static int set_var(struct fbtft_par *par)
 {
        u8 val;
 
-       fbtft_par_dbg(DEBUG_INIT_DISPLAY, par, "%s()\n", __func__);
-
        switch (par->info->var.rotate) {
        case 270:
                val = HX8357D_MADCTL_MV | HX8357D_MADCTL_MX;
index d166ca905d972f930b6eedade423e7392b9b2c53..f31b3f4b92757de41698cee516cfd73b01a236e0 100644 (file)
@@ -108,8 +108,6 @@ create setup for different displays.
 
 static int init_display(struct fbtft_par *par)
 {
-       fbtft_par_dbg(DEBUG_INIT_DISPLAY, par, "%s()\n", __func__);
-
        par->fbtftops.reset(par);
 
        if (par->gpio.cs != -1)
@@ -201,8 +199,6 @@ static int set_var(struct fbtft_par *par)
 {
        u8 mactrl_data = 0; /* Avoid compiler warning */
 
-       fbtft_par_dbg(DEBUG_INIT_DISPLAY, par, "%s()\n", __func__);
-
        switch (par->info->var.rotate) {
        case 0:
                mactrl_data = 0x08;
@@ -236,8 +232,6 @@ static int gamma_adj(struct fbtft_par *par, unsigned long *curves)
                0x3F, 0x3F, 0x3F, 0x3F, 0x3F};
        int i, j;
 
-       fbtft_par_dbg(DEBUG_INIT_DISPLAY, par, "%s()\n", __func__);
-
        for (i = 0; i < GAMMA_NUM; i++)
                for (j = 0; j < GAMMA_LEN; j++)
                        CURVE(i, j) &= mask[i * par->gamma.num_values + j];
index 30bed2c674c988d31ab0b2045620449fe7451228..3ed50febe36f6ba38b55c6f10f5c4324dcb6cdc4 100644 (file)
@@ -43,8 +43,6 @@ static int init_display(struct fbtft_par *par)
 {
        unsigned devcode;
 
-       fbtft_par_dbg(DEBUG_INIT_DISPLAY, par, "%s()\n", __func__);
-
        par->fbtftops.reset(par);
 
        devcode = read_devicecode(par);
@@ -200,8 +198,6 @@ static void set_addr_win(struct fbtft_par *par, int xs, int ys, int xe, int ye)
 
 static int set_var(struct fbtft_par *par)
 {
-       fbtft_par_dbg(DEBUG_INIT_DISPLAY, par, "%s()\n", __func__);
-
        switch (par->info->var.rotate) {
        case 0:
                write_reg(par, 0x3, (par->bgr << 12) | 0x30);
@@ -233,8 +229,6 @@ static int set_gamma(struct fbtft_par *par, unsigned long *curves)
        };
        int i, j;
 
-       fbtft_par_dbg(DEBUG_INIT_DISPLAY, par, "%s()\n", __func__);
-
        /* apply mask */
        for (i = 0; i < 2; i++)
                for (j = 0; j < 10; j++)
index 25e5a11d451efcc2c9735290e2b9b3d01a6b812f..3b3a06d8a125fc5bf9b44ca2ec27e7583307641a 100644 (file)
@@ -95,8 +95,6 @@ VCOMH - VCOML < 6.0   =>  4.79 < 6.0
 
 static int init_display(struct fbtft_par *par)
 {
-       fbtft_par_dbg(DEBUG_INIT_DISPLAY, par, "%s()\n", __func__);
-
        par->fbtftops.reset(par);
 
        if (par->gpio.cs != -1)
@@ -195,8 +193,6 @@ static void set_addr_win(struct fbtft_par *par, int xs, int ys, int xe, int ye)
 
 static int set_var(struct fbtft_par *par)
 {
-       fbtft_par_dbg(DEBUG_INIT_DISPLAY, par, "%s()\n", __func__);
-
        switch (par->info->var.rotate) {
        /* AM: GRAM update direction */
        case 0:
@@ -230,8 +226,6 @@ static int set_gamma(struct fbtft_par *par, unsigned long *curves)
        };
        int i, j;
 
-       fbtft_par_dbg(DEBUG_INIT_DISPLAY, par, "%s()\n", __func__);
-
        /* apply mask */
        for (i = 0; i < 2; i++)
                for (j = 0; j < 10; j++)
index 7efd8bc1201b654f7bd24e8cbe03facc54a6cccd..e0e253989271a6ad1aae7da311ae39228697f53e 100644 (file)
@@ -29,8 +29,6 @@
 /* Init sequence taken from: Arduino Library for the Adafruit 2.2" display */
 static int init_display(struct fbtft_par *par)
 {
-       fbtft_par_dbg(DEBUG_INIT_DISPLAY, par, "%s()\n", __func__);
-
        par->fbtftops.reset(par);
 
        write_reg(par, 0xEF, 0x03, 0x80, 0x02);
@@ -110,8 +108,6 @@ static int set_var(struct fbtft_par *par)
 {
        u8 val;
 
-       fbtft_par_dbg(DEBUG_INIT_DISPLAY, par, "%s()\n", __func__);
-
        switch (par->info->var.rotate) {
        case 270:
                val = ILI9340_MADCTL_MV;
index d07a312ad293b6b25663f212cb9d29a8d0ba4c37..dcee0aff58756771181c27860ffb8b2f359f25b7 100644 (file)
@@ -36,8 +36,6 @@
 
 static int init_display(struct fbtft_par *par)
 {
-       fbtft_par_dbg(DEBUG_INIT_DISPLAY, par, "%s()\n", __func__);
-
        par->fbtftops.reset(par);
 
        /* startup sequence for MI0283QT-9A */
@@ -97,8 +95,6 @@ static void set_addr_win(struct fbtft_par *par, int xs, int ys, int xe, int ye)
 #define MEM_BGR (3) /* RGB-BGR Order */
 static int set_var(struct fbtft_par *par)
 {
-       fbtft_par_dbg(DEBUG_INIT_DISPLAY, par, "%s()\n", __func__);
-
        switch (par->info->var.rotate) {
        case 0:
                write_reg(par, 0x36, (1 << MEM_X) | (par->bgr << MEM_BGR));
@@ -129,8 +125,6 @@ static int set_gamma(struct fbtft_par *par, unsigned long *curves)
 {
        int i;
 
-       fbtft_par_dbg(DEBUG_INIT_DISPLAY, par, "%s()\n", __func__);
-
        for (i = 0; i < par->gamma.num_curves; i++)
                write_reg(par, 0xE0 + i,
                        CURVE(i, 0), CURVE(i, 1), CURVE(i, 2),
index 85387f01d2546c69d88a62ad4b430845baa0d88a..63684864f3098def78d0adb2261821a8c44b1543 100644 (file)
@@ -68,8 +68,6 @@ static void set_addr_win(struct fbtft_par *par, int xs, int ys, int xe, int ye)
 #define ROWxCOL 0x20
 static int set_var(struct fbtft_par *par)
 {
-       fbtft_par_dbg(DEBUG_INIT_DISPLAY, par, "%s()\n", __func__);
-
        switch (par->info->var.rotate) {
        case 270:
                write_reg(par, 0x36, ROWxCOL | HFLIP | VFLIP | (par->bgr << 3));
index 10068b0d1de987aaae40ab85aafcacb67bb47b3a..d9dfff68159b025f26a9fe4e9c147343f0909bdb 100644 (file)
@@ -68,8 +68,6 @@ static void set_addr_win(struct fbtft_par *par, int xs, int ys, int xe, int ye)
 
 static int set_var(struct fbtft_par *par)
 {
-       fbtft_par_dbg(DEBUG_INIT_DISPLAY, par, "%s()\n", __func__);
-
        switch (par->info->var.rotate) {
        case 0:
                write_reg(par, 0x36, 0x80 | (par->bgr << 3));
index 7ba220f07d013a536dbac2f8d690a0663e8ddc93..828174a566a37d3bcc58b2b8230461af5bb0aa55 100644 (file)
@@ -42,8 +42,6 @@ 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__);
-
        par->fbtftops.reset(par);
 
        /* Function set
@@ -143,8 +141,6 @@ static int write_vmem(struct fbtft_par *par, size_t offset, size_t len)
 
 static int set_gamma(struct fbtft_par *par, unsigned long *curves)
 {
-       fbtft_par_dbg(DEBUG_INIT_DISPLAY, par, "%s()\n", __func__);
-
        /* apply mask */
        curves[0] &= 0x7F;
 
index 0ae5bc6c53a68511d9c3775f3d3c1cd31751f7d9..da85057eb3e0bc77927939a17079d95cc53c296e 100644 (file)
@@ -113,8 +113,6 @@ static void set_addr_win(struct fbtft_par *par, int xs, int ys, int xe, int ye)
 #define MV BIT(5)
 static int set_var(struct fbtft_par *par)
 {
-       fbtft_par_dbg(DEBUG_INIT_DISPLAY, par, "%s()\n", __func__);
-
        /* MADCTL - Memory data access control
             RGB/BGR:
                1. Mode selection pin SRGB
index 9ee8d56cd5694964be8020d777f30f016576e52b..d6ae76b318adf14053da11e3347da79b02ca0b1e 100644 (file)
@@ -36,8 +36,6 @@
 
 static int init_display(struct fbtft_par *par)
 {
-       fbtft_par_dbg(DEBUG_INIT_DISPLAY, par, "%s()\n", __func__);
-
        par->fbtftops.reset(par);
 
        if (par->gpio.cs != -1)
@@ -107,8 +105,6 @@ static void set_addr_win(struct fbtft_par *par, int xs, int ys, int xe, int ye)
 
 static int set_var(struct fbtft_par *par)
 {
-       fbtft_par_dbg(DEBUG_INIT_DISPLAY, par, "%s()\n", __func__);
-
        switch (par->info->var.rotate) {
        /* AM: GRAM update direction */
        case 0:
@@ -143,8 +139,6 @@ static int set_gamma(struct fbtft_par *par, unsigned long *curves)
        };
        int i, j;
 
-       fbtft_par_dbg(DEBUG_INIT_DISPLAY, par, "%s()\n", __func__);
-
        /* apply mask */
        for (i = 0; i < 2; i++)
                for (j = 0; j < 14; j++)
index e6804524a47b763812257a5401225793d34923a6..1162c08613fadef8a4732117d2f91d38ababce8f 100644 (file)
@@ -35,8 +35,6 @@ 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__);
-
        par->fbtftops.reset(par);
 
        if (par->gpio.cs != -1)
@@ -106,8 +104,6 @@ static void set_addr_win(struct fbtft_par *par, int xs, int ys, int xe, int ye)
 
 static int set_var(struct fbtft_par *par)
 {
-       fbtft_par_dbg(DEBUG_INIT_DISPLAY, par, "%s()\n", __func__);
-
        if (par->fbtftops.init_display != init_display) {
                /* don't risk messing up register 11h */
                fbtft_par_dbg(DEBUG_INIT_DISPLAY, par,
@@ -148,8 +144,6 @@ static int set_gamma(struct fbtft_par *par, unsigned long *curves)
        };
        int i, j;
 
-       fbtft_par_dbg(DEBUG_INIT_DISPLAY, par, "%s()\n", __func__);
-
        /* apply mask */
        for (i = 0; i < 2; i++)
                for (j = 0; j < 10; j++)
index 4fe899ba68cfc4059e7062d4e4045512c04d53a0..7568e943ec0a304e729ea7f2d5950324d4cdf4f9 100644 (file)
@@ -40,8 +40,6 @@
 /* Init sequence taken from the Adafruit SSD1306 Arduino library */
 static int init_display(struct fbtft_par *par)
 {
-       fbtft_par_dbg(DEBUG_INIT_DISPLAY, par, "%s()\n", __func__);
-
        par->fbtftops.reset(par);
 
        if (par->gamma.curves[0] == 0) {
@@ -150,8 +148,6 @@ static int blank(struct fbtft_par *par, bool on)
 /* Gamma is used to control Contrast */
 static int set_gamma(struct fbtft_par *par, unsigned long *curves)
 {
-       fbtft_par_dbg(DEBUG_INIT_DISPLAY, par, "%s()\n", __func__);
-
        /* apply mask */
        curves[0] &= 0xFF;
 
index 9ac75f6822a9ce8c2eb75537a6e7257061f42513..53cb8e9847cf91f5fcfde7eda68dad9dd902f817 100644 (file)
@@ -23,8 +23,6 @@
 
 static int init_display(struct fbtft_par *par)
 {
-       fbtft_par_dbg(DEBUG_INIT_DISPLAY, par, "%s()\n", __func__);
-
        par->fbtftops.reset(par);
 
        write_reg(par, 0xae); /* Display Off */
@@ -129,8 +127,6 @@ static int set_gamma(struct fbtft_par *par, unsigned long *curves)
        unsigned long tmp[GAMMA_NUM * GAMMA_LEN];
        int i, acc = 0;
 
-       fbtft_par_dbg(DEBUG_INIT_DISPLAY, par, "%s()\n", __func__);
-
        for (i = 0; i < 63; i++) {
                if (i > 0 && curves[i] < 2) {
                        dev_err(par->info->device,
index 7e3762d5aa2a7dbad07cda4586ae43117469fad3..83867e1593f02e16eb31e993f12fcaceaafd36d9 100644 (file)
@@ -25,8 +25,6 @@ static void register_onboard_backlight(struct fbtft_par *par);
 
 static int init_display(struct fbtft_par *par)
 {
-       fbtft_par_dbg(DEBUG_INIT_DISPLAY, par, "%s()\n", __func__);
-
        if (par->pdata
                && par->pdata->display.backlight == FBTFT_ONBOARD_BACKLIGHT) {
                /* module uses onboard GPIO for panel power */
@@ -70,8 +68,6 @@ static int set_var(struct fbtft_par *par)
 {
        unsigned remap;
 
-       fbtft_par_dbg(DEBUG_INIT_DISPLAY, par, "%s()\n", __func__);
-
        if (par->fbtftops.init_display != init_display) {
                /* don't risk messing up register A0h */
                fbtft_par_dbg(DEBUG_INIT_DISPLAY, par,
@@ -126,8 +122,6 @@ static int set_gamma(struct fbtft_par *par, unsigned long *curves)
        unsigned long tmp[GAMMA_NUM * GAMMA_LEN];
        int i, acc = 0;
 
-       fbtft_par_dbg(DEBUG_INIT_DISPLAY, par, "%s()\n", __func__);
-
        for (i = 0; i < 63; i++) {
                if (i > 0 && curves[i] < 2) {
                        dev_err(par->info->device,
index e249bbfe5e8935d675e304ea114af44decda20b2..a92b0d071097f9d75bfb9b3f8c2483d86b90a247 100644 (file)
@@ -106,8 +106,6 @@ static void set_addr_win(struct fbtft_par *par, int xs, int ys, int xe, int ye)
 #define MV BIT(5)
 static int set_var(struct fbtft_par *par)
 {
-       fbtft_par_dbg(DEBUG_INIT_DISPLAY, par, "%s()\n", __func__);
-
        /* MADCTL - Memory data access control
             RGB/BGR:
             1. Mode selection pin SRGB
@@ -142,8 +140,6 @@ static int set_gamma(struct fbtft_par *par, unsigned long *curves)
 {
        int i, j;
 
-       fbtft_par_dbg(DEBUG_INIT_DISPLAY, par, "%s()\n", __func__);
-
        /* apply mask */
        for (i = 0; i < par->gamma.num_curves; i++)
                for (j = 0; j < par->gamma.num_values; j++)
index 04d1e344a3a0e6b0a265e58953f0823486218f6f..caf263db436afa69f5f7dff9685f808468846b03 100644 (file)
@@ -27,8 +27,6 @@
 
 static int init_display(struct fbtft_par *par)
 {
-       fbtft_par_dbg(DEBUG_INIT_DISPLAY, par, "%s()\n", __func__);
-
        par->fbtftops.reset(par);
 
        write_reg(par, 0xB0, 0x80);
@@ -71,8 +69,6 @@ static void set_addr_win(struct fbtft_par *par, int xs, int ys, int xe, int ye)
 
 static int set_var(struct fbtft_par *par)
 {
-       fbtft_par_dbg(DEBUG_INIT_DISPLAY, par, "%s()\n", __func__);
-
        switch (par->info->var.rotate) {
        case 270:
                write_reg(par, 0xB6, 0x00, 0x02, 0x3B);
index 1225ba9f8b1bfd3dd2fc221f3234255ad5e7598c..4e16ea763d78d38c56af056351d9eeb1f40baae5 100644 (file)
@@ -41,8 +41,6 @@ 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__);
-
        par->fbtftops.reset(par);
 
        /* Enter extended command mode */
@@ -135,8 +133,6 @@ static int write_vmem(struct fbtft_par *par, size_t offset, size_t len)
 
 static int set_gamma(struct fbtft_par *par, unsigned long *curves)
 {
-       fbtft_par_dbg(DEBUG_INIT_DISPLAY, par, "%s()\n", __func__);
-
        /* apply mask */
        curves[0] &= 0x7F;
 
index 14a8734bc415f949895188588e77dd4eb11e2e93..5b836614afe8e4f6ed832c55b3ceed0e21a5ca4f 100644 (file)
@@ -72,8 +72,6 @@ static int init_display(struct fbtft_par *par)
 {
        int ret;
 
-       fbtft_par_dbg(DEBUG_INIT_DISPLAY, par, "%s()\n", __func__);
-
        /* Set CS active high */
        par->spi->mode |= SPI_CS_HIGH;
        ret = par->spi->master->setup(par->spi);
@@ -152,8 +150,6 @@ static int blank(struct fbtft_par *par, bool on)
 
 static int set_var(struct fbtft_par *par)
 {
-       fbtft_par_dbg(DEBUG_INIT_DISPLAY, par, "%s()\n", __func__);
-
        /* par->info->fix.visual = FB_VISUAL_PSEUDOCOLOR; */
        par->info->var.grayscale = 1;
        par->info->var.red.offset    = 0;
index e0d4d36047cc7da71d84a4cf829b6a5c4eba7606..28b13cf16f1e00c836538498504602380e283db1 100644 (file)
@@ -71,8 +71,6 @@
 
 static int init_display(struct fbtft_par *par)
 {
-       fbtft_par_dbg(DEBUG_INIT_DISPLAY, par, "%s()\n", __func__);
-
        par->fbtftops.reset(par);
 
        /* softreset of LCD */
index f0011ee9868be9040feb63f9515b401cdd2b5bb1..970b8430eccf7d00327793674f7cbce19b70e209 100644 (file)
@@ -33,8 +33,6 @@
 
 static int init_display(struct fbtft_par *par)
 {
-       fbtft_par_dbg(DEBUG_INIT_DISPLAY, par, "%s()\n", __func__);
-
        par->fbtftops.reset(par);
 
        if (par->gpio.cs != -1)
@@ -153,8 +151,6 @@ static void set_addr_win(struct fbtft_par *par, int xs, int ys, int xe, int ye)
 
 static int set_var(struct fbtft_par *par)
 {
-       fbtft_par_dbg(DEBUG_INIT_DISPLAY, par, "%s()\n", __func__);
-
        switch (par->info->var.rotate) {
        /* AM: GRAM update direction */
        case 0:
index 01126a5f8648d6d33e1543062c4f52aef6e65d4b..c4800497169cddadbe6fc2e623d39de733c1507d 100644 (file)
@@ -159,8 +159,6 @@ static int init_display(struct fbtft_par *par)
        unsigned version;
        u8 save_mode;
 
-       fbtft_par_dbg(DEBUG_INIT_DISPLAY, par, "%s()\n", __func__);
-
        /* enable SPI interface by having CS and MOSI low during reset */
        save_mode = par->spi->mode;
        par->spi->mode |= SPI_CS_HIGH;
@@ -200,8 +198,6 @@ static int set_var(struct fbtft_par *par)
 {
        u8 rotate;
 
-       fbtft_par_dbg(DEBUG_INIT_DISPLAY, par, "%s()\n", __func__);
-
        /* this controller rotates clock wise */
        switch (par->info->var.rotate) {
        case 90:
index 293fcbb3b064d6ceda65cd5f463ef16964580fc3..b318dafd5ce443222ecaa3c34803b02734a87eae 100644 (file)
@@ -1050,8 +1050,6 @@ static int fbtft_init_display_dt(struct fbtft_par *par)
        u32 val;
        int buf[64], i, j;
 
-       fbtft_par_dbg(DEBUG_INIT_DISPLAY, par, "%s()\n", __func__);
-
        if (!node)
                return -EINVAL;
 
@@ -1134,8 +1132,6 @@ int fbtft_init_display(struct fbtft_par *par)
        int i = 0;
        int j;
 
-       fbtft_par_dbg(DEBUG_INIT_DISPLAY, par, "%s()\n", __func__);
-
        /* sanity check */
        if (!par->init_sequence) {
                dev_err(par->info->device,