Staging: fbtft: Remove debug messages related to DEBUG_WRITE_VMEM
Subsystems (2)
PATCH 1/2 Staging: fbtft: Remove debug messages related to DEBUG_WRITE_VMEM
Remove debug messages related to fbtft_par_dbg(DEBUG_WRITE_VMEM.. ) as this info can be obtained using kernel function tracer
--- drivers/staging/fbtft/fb_agm1264k-fl.c | 2 -- drivers/staging/fbtft/fb_pcd8544.c | 2 -- drivers/staging/fbtft/fb_ssd1306.c | 2 -- drivers/staging/fbtft/fb_tls8204.c | 2 -- drivers/staging/fbtft/fb_uc1611.c | 2 -- drivers/staging/fbtft/fb_uc1701.c | 2 -- drivers/staging/fbtft/fb_watterott.c | 4 ---- 7 files changed, 16 deletions(-)
drivers/staging/fbtft/fb_agm1264k-fl.c +0 -2
@@ -278,8 +278,6 @@ static int write_vmem(struct fbtft_par *par, size_t offset, size_t len)if (!convert_buf)return -ENOMEM ; -fbtft_par_dbg (DEBUG_WRITE_VMEM , par,"%s()\n" , __func__); -/* converting to grayscale16 */ for (x =0 ; x < par->info->var.xres; ++x)for (y =0 ; y < par->info->var.yres; ++y) {
drivers/staging/fbtft/fb_pcd8544.c +0 -2
@@ -117,8 +117,6 @@ static int write_vmem(struct fbtft_par *par, size_t offset, size_t len)int x, y, i;int ret =0 ; -fbtft_par_dbg (DEBUG_WRITE_VMEM , par,"%s()\n" , __func__); -for (x =0 ; x <84 ; x++) {for (y =0 ; y <6 ; y++) { *buf =0x00 ;
drivers/staging/fbtft/fb_ssd1306.c +0 -2
@@ -165,8 +165,6 @@ static int write_vmem(struct fbtft_par *par, size_t offset, size_t len)int x, y, i;int ret =0 ; -fbtft_par_dbg (DEBUG_WRITE_VMEM , par,"%s()\n" , __func__); -for (x =0 ; x < par->info->var.xres; x++) {for (y =0 ; y < par->info->var.yres/8 ; y++) { *buf =0x00 ;
drivers/staging/fbtft/fb_tls8204.c +0 -2
@@ -98,8 +98,6 @@ static int write_vmem(struct fbtft_par *par, size_t offset, size_t len)int x, y, i;int ret =0 ; -fbtft_par_dbg (DEBUG_WRITE_VMEM , par,"%s()\n" , __func__); -for (y =0 ; y <HEIGHT /8 ; y++) {u8 *buf = par->txbuf.buf;/* The display is 102x68 but the LCD is 84x48. Set
drivers/staging/fbtft/fb_uc1611.c +0 -2
@@ -230,8 +230,6 @@ static int write_vmem(struct fbtft_par *par, size_t offset, size_t len)int x, y, i;int ret =0 ; -fbtft_par_dbg (DEBUG_WRITE_VMEM , par,"%s()\n" , __func__); -switch (par->pdata->display.buswidth) {case 8 :switch (par->info->var.rotate) {
drivers/staging/fbtft/fb_uc1701.c +0 -2
@@ -146,8 +146,6 @@ static int write_vmem(struct fbtft_par *par, size_t offset, size_t len)int x, y, i;int ret =0 ; -fbtft_par_dbg (DEBUG_WRITE_VMEM , par,"%s()\n" , __func__); -for (y =0 ; y <PAGES ; y++) { buf = par->txbuf.buf;for (x =0 ; x <WIDTH ; x++) {
drivers/staging/fbtft/fb_watterott.c +0 -4
@@ -74,8 +74,6 @@ static int write_vmem(struct fbtft_par *par, size_t offset, size_t len)int i, j;int ret =0 ; -fbtft_par_dbg (DEBUG_WRITE_VMEM , par,"%s()\n" , __func__); - start_line = offset / par->info->fix.line_length; end_line = start_line + (len / par->info->fix.line_length) -1 ;
@@ -113,8 +111,6 @@ static int write_vmem_8bit(struct fbtft_par *par, size_t offset, size_t len)int i, j;int ret =0 ; -fbtft_par_dbg (DEBUG_WRITE_VMEM , par,"%s()\n" , __func__); - start_line = offset / par->info->fix.line_length; end_line = start_line + (len / par->info->fix.line_length) -1 ;
Signature · 1 line
2.1.4
PATCH 2/2 Staging: fbtft: Remove debug messages related to DEBUG_BACKLIGHT
Remove debug messages related to fbtft_par_dbg(DEBUG_BACKLIGHT.. ) as this info can be obtained using kernel function tracer
--- drivers/staging/fbtft/fb_ssd1351.c | 2 -- drivers/staging/fbtft/fb_watterott.c | 2 -- drivers/staging/fbtft/fbtft-core.c | 4 ---- 3 files changed, 8 deletions(-)
drivers/staging/fbtft/fb_ssd1351.c +0 -2
@@ -206,8 +206,6 @@ static void register_onboard_backlight(struct fbtft_par *par)struct backlight_device *bd;struct backlight_properties bl_props = {0 , }; -fbtft_par_dbg (DEBUG_BACKLIGHT , par,"%s()\n" , __func__); - bl_props.type =BACKLIGHT_RAW ; bl_props.power =FB_BLANK_POWERDOWN ;
drivers/staging/fbtft/fb_watterott.c +0 -2
@@ -253,8 +253,6 @@ static void register_chip_backlight(struct fbtft_par *par)struct backlight_device *bd;struct backlight_properties bl_props = {0 , }; -fbtft_par_dbg (DEBUG_BACKLIGHT , par,"%s()\n" , __func__); - bl_props.type =BACKLIGHT_RAW ; bl_props.power =FB_BLANK_POWERDOWN ; bl_props.max_brightness =100 ;
drivers/staging/fbtft/fbtft-core.c +0 -4
@@ -266,8 +266,6 @@ static int fbtft_backlight_get_brightness(struct backlight_device *bd)void fbtft_unregister_backlight (struct fbtft_par *par) { -fbtft_par_dbg (DEBUG_BACKLIGHT , par,"%s()\n" , __func__); -if (par->info->bl_dev) { par->info->bl_dev->props.power =FB_BLANK_POWERDOWN ;backlight_update_status (par->info->bl_dev);
@@ -286,8 +284,6 @@ void fbtft_register_backlight(struct fbtft_par *par)struct backlight_device *bd;struct backlight_properties bl_props = {0 , }; -fbtft_par_dbg (DEBUG_BACKLIGHT , par,"%s()\n" , __func__); -if (par->gpio.led[0 ] ==-1 ) {fbtft_par_dbg (DEBUG_BACKLIGHT , par,"%s(): led pin not set, exiting.\n" , __func__);
Signature · 1 line
2.1.4
On Wed, Sep 30, 2015 at 05:50:32PM +0530, Shraddha Barke wrote:
Hello Shraddha,
Nice effort done there. But you forgot the cover letter for this patch set. Check the section 'Submitting a patchset' in:
http://kernelnewbies.org/Outreachyfirstpatch
for instructions to generate a patchset and its cover letter.
Quoted 123 lines
Remove debug messages related to fbtft_par_dbg(DEBUG_WRITE_VMEM.. ) as this info can be obtained using kernel function tracer
Signed-off-by Shraddha Barke <[email protected]>--- drivers/staging/fbtft/fb_agm1264k-fl.c | 2 -- drivers/staging/fbtft/fb_pcd8544.c | 2 -- drivers/staging/fbtft/fb_ssd1306.c | 2 -- drivers/staging/fbtft/fb_tls8204.c | 2 -- drivers/staging/fbtft/fb_uc1611.c | 2 -- drivers/staging/fbtft/fb_uc1701.c | 2 -- drivers/staging/fbtft/fb_watterott.c | 4 ---- 7 files changed, 16 deletions(-)drivers/staging/fbtft/fb_agm1264k-fl.c +0
-2@@ -278,8 +278,6 @@ static int write_vmem(struct fbtft_par *par, size_t offset, size_t len)if (!convert_buf)return -ENOMEM ; -fbtft_par_dbg (DEBUG_WRITE_VMEM , par,"%s()\n" , __func__); -/* converting to grayscale16 */ for (x =0 ; x < par->info->var.xres; ++x)for (y =0 ; y < par->info->var.yres; ++y) {drivers/staging/fbtft/fb_pcd8544.c +0
-2@@ -117,8 +117,6 @@ static int write_vmem(struct fbtft_par *par, size_t offset, size_t len)int x, y, i;int ret =0 ; -fbtft_par_dbg (DEBUG_WRITE_VMEM , par,"%s()\n" , __func__); -for (x =0 ; x <84 ; x++) {for (y =0 ; y <6 ; y++) { *buf =0x00 ;drivers/staging/fbtft/fb_ssd1306.c +0
-2@@ -165,8 +165,6 @@ static int write_vmem(struct fbtft_par *par, size_t offset, size_t len)int x, y, i;int ret =0 ; -fbtft_par_dbg (DEBUG_WRITE_VMEM , par,"%s()\n" , __func__); -for (x =0 ; x < par->info->var.xres; x++) {for (y =0 ; y < par->info->var.yres/8 ; y++) { *buf =0x00 ;drivers/staging/fbtft/fb_tls8204.c +0
-2@@ -98,8 +98,6 @@ static int write_vmem(struct fbtft_par *par, size_t offset, size_t len)int x, y, i;int ret =0 ; -fbtft_par_dbg (DEBUG_WRITE_VMEM , par,"%s()\n" , __func__); -for (y =0 ; y <HEIGHT /8 ; y++) {u8 *buf = par->txbuf.buf;/* The display is 102x68 but the LCD is 84x48. Set drivers/staging/fbtft/fb_uc1611.c +0
-2@@ -230,8 +230,6 @@ static int write_vmem(struct fbtft_par *par, size_t offset, size_t len)int x, y, i;int ret =0 ; -fbtft_par_dbg (DEBUG_WRITE_VMEM , par,"%s()\n" , __func__); -switch (par->pdata->display.buswidth) {case 8 :switch (par->info->var.rotate) {drivers/staging/fbtft/fb_uc1701.c +0
-2@@ -146,8 +146,6 @@ static int write_vmem(struct fbtft_par *par, size_t offset, size_t len)int x, y, i;int ret =0 ; -fbtft_par_dbg (DEBUG_WRITE_VMEM , par,"%s()\n" , __func__); -for (y =0 ; y <PAGES ; y++) { buf = par->txbuf.buf;for (x =0 ; x <WIDTH ; x++) {drivers/staging/fbtft/fb_watterott.c +0
-4@@ -74,8 +74,6 @@ static int write_vmem(struct fbtft_par *par, size_t offset, size_t len)int i, j;int ret =0 ; -fbtft_par_dbg (DEBUG_WRITE_VMEM , par,"%s()\n" , __func__); - start_line = offset / par->info->fix.line_length; end_line = start_line + (len / par->info->fix.line_length) -1 ;@@ -113,8 +111,6 @@ static int write_vmem_8bit(struct fbtft_par *par, size_t offset, size_t len)int i, j;int ret =0 ; -fbtft_par_dbg (DEBUG_WRITE_VMEM , par,"%s()\n" , __func__); - start_line = offset / par->info->fix.line_length; end_line = start_line + (len / par->info->fix.line_length) -1 ;Signature · 8 lines
2.1.4 -- You received this message because you are subscribed to the Google Groups "outreachy-kernel" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/outreachy-kernel/1443615633-5978-1-git-send-email-shraddha.6596%40gmail.com. For more options, visit https://groups.google.com/d/optout.
Signature · 2 lines
Kind Regards, Aya Saif El-yazal Mahfouz