Commit 2bcaa1e9 authored by Shraddha Barke's avatar Shraddha Barke Committed by Greg Kroah-Hartman

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
Signed-off-by: default avatarShraddha Barke <shraddha.6596@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 60ec47f2
...@@ -278,8 +278,6 @@ static int write_vmem(struct fbtft_par *par, size_t offset, size_t len) ...@@ -278,8 +278,6 @@ static int write_vmem(struct fbtft_par *par, size_t offset, size_t len)
if (!convert_buf) if (!convert_buf)
return -ENOMEM; return -ENOMEM;
fbtft_par_dbg(DEBUG_WRITE_VMEM, par, "%s()\n", __func__);
/* converting to grayscale16 */ /* converting to grayscale16 */
for (x = 0; x < par->info->var.xres; ++x) for (x = 0; x < par->info->var.xres; ++x)
for (y = 0; y < par->info->var.yres; ++y) { for (y = 0; y < par->info->var.yres; ++y) {
......
...@@ -117,8 +117,6 @@ static int write_vmem(struct fbtft_par *par, size_t offset, size_t len) ...@@ -117,8 +117,6 @@ static int write_vmem(struct fbtft_par *par, size_t offset, size_t len)
int x, y, i; int x, y, i;
int ret = 0; int ret = 0;
fbtft_par_dbg(DEBUG_WRITE_VMEM, par, "%s()\n", __func__);
for (x = 0; x < 84; x++) { for (x = 0; x < 84; x++) {
for (y = 0; y < 6; y++) { for (y = 0; y < 6; y++) {
*buf = 0x00; *buf = 0x00;
......
...@@ -165,8 +165,6 @@ static int write_vmem(struct fbtft_par *par, size_t offset, size_t len) ...@@ -165,8 +165,6 @@ static int write_vmem(struct fbtft_par *par, size_t offset, size_t len)
int x, y, i; int x, y, i;
int ret = 0; int ret = 0;
fbtft_par_dbg(DEBUG_WRITE_VMEM, par, "%s()\n", __func__);
for (x = 0; x < par->info->var.xres; x++) { for (x = 0; x < par->info->var.xres; x++) {
for (y = 0; y < par->info->var.yres/8; y++) { for (y = 0; y < par->info->var.yres/8; y++) {
*buf = 0x00; *buf = 0x00;
......
...@@ -98,8 +98,6 @@ static int write_vmem(struct fbtft_par *par, size_t offset, size_t len) ...@@ -98,8 +98,6 @@ static int write_vmem(struct fbtft_par *par, size_t offset, size_t len)
int x, y, i; int x, y, i;
int ret = 0; int ret = 0;
fbtft_par_dbg(DEBUG_WRITE_VMEM, par, "%s()\n", __func__);
for (y = 0; y < HEIGHT / 8; y++) { for (y = 0; y < HEIGHT / 8; y++) {
u8 *buf = par->txbuf.buf; u8 *buf = par->txbuf.buf;
/* The display is 102x68 but the LCD is 84x48. Set /* The display is 102x68 but the LCD is 84x48. Set
......
...@@ -230,8 +230,6 @@ static int write_vmem(struct fbtft_par *par, size_t offset, size_t len) ...@@ -230,8 +230,6 @@ static int write_vmem(struct fbtft_par *par, size_t offset, size_t len)
int x, y, i; int x, y, i;
int ret = 0; int ret = 0;
fbtft_par_dbg(DEBUG_WRITE_VMEM, par, "%s()\n", __func__);
switch (par->pdata->display.buswidth) { switch (par->pdata->display.buswidth) {
case 8: case 8:
switch (par->info->var.rotate) { switch (par->info->var.rotate) {
......
...@@ -146,8 +146,6 @@ static int write_vmem(struct fbtft_par *par, size_t offset, size_t len) ...@@ -146,8 +146,6 @@ static int write_vmem(struct fbtft_par *par, size_t offset, size_t len)
int x, y, i; int x, y, i;
int ret = 0; int ret = 0;
fbtft_par_dbg(DEBUG_WRITE_VMEM, par, "%s()\n", __func__);
for (y = 0; y < PAGES; y++) { for (y = 0; y < PAGES; y++) {
buf = par->txbuf.buf; buf = par->txbuf.buf;
for (x = 0; x < WIDTH; x++) { for (x = 0; x < WIDTH; x++) {
......
...@@ -74,8 +74,6 @@ static int write_vmem(struct fbtft_par *par, size_t offset, size_t len) ...@@ -74,8 +74,6 @@ static int write_vmem(struct fbtft_par *par, size_t offset, size_t len)
int i, j; int i, j;
int ret = 0; int ret = 0;
fbtft_par_dbg(DEBUG_WRITE_VMEM, par, "%s()\n", __func__);
start_line = offset / par->info->fix.line_length; start_line = offset / par->info->fix.line_length;
end_line = start_line + (len / par->info->fix.line_length) - 1; 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) ...@@ -113,8 +111,6 @@ static int write_vmem_8bit(struct fbtft_par *par, size_t offset, size_t len)
int i, j; int i, j;
int ret = 0; int ret = 0;
fbtft_par_dbg(DEBUG_WRITE_VMEM, par, "%s()\n", __func__);
start_line = offset / par->info->fix.line_length; start_line = offset / par->info->fix.line_length;
end_line = start_line + (len / par->info->fix.line_length) - 1; end_line = start_line + (len / par->info->fix.line_length) - 1;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment