linux-fbdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] staging: sm750fb: remove redundant __func__ in debug statement
@ 2015-06-22  4:47 Gujulan Elango, Hari Prasath (H.)
  0 siblings, 0 replies; only message in thread
From: Gujulan Elango, Hari Prasath (H.) @ 2015-06-22  4:47 UTC (permalink / raw)
  To: linux-fbdev

From: Hari Prasath Gujulan Elango <hgujulan@visteon.com>

This patch removes the redundant __func__ from dynamic debug prints as
the pr_xxx set of functions can be dynamically controlled to include
function name as well

Signed-off-by: Hari Prasath Gujulan Elango <hgujulan@visteon.com>
---
 drivers/staging/sm750fb/sm750_accel.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/sm750fb/sm750_accel.c b/drivers/staging/sm750fb/sm750_accel.c
index 6eee4cd..bf62003 100644
--- a/drivers/staging/sm750fb/sm750_accel.c
+++ b/drivers/staging/sm750fb/sm750_accel.c
@@ -100,7 +100,7 @@ int hw_fillrect(struct lynx_accel *accel,
 	{
 		/* int time wait and always busy,seems hardware
 		 * got something error */
-		pr_debug("%s:De engine always bussy\n", __func__);
+		pr_debug("De engine always bussy\n");
 		return -1;
 	}
 
-- 
1.9.1
--
To unsubscribe from this list: send the line "unsubscribe linux-fbdev" in

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2015-06-22  4:47 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-06-22  4:47 [PATCH 1/2] staging: sm750fb: remove redundant __func__ in debug statement Gujulan Elango, Hari Prasath (H.)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).