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: Shraddha Barke <shraddha.6596@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
60ec47f23e
commit
2bcaa1e955
|
@ -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) {
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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) {
|
||||
|
|
|
@ -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++) {
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue