Skip to contentSkip to conversation

staging: sm750fb: remove redundant __func__ in debug statement

PATCH New Gujulan Elango, Hari Prasath (H.) 1 participant 1 message Jun 24, 2015

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 staging: sm750fb: remove redundant __func__ in debug statement

From: Hari Prasath Gujulan Elango <[email protected]>

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.Also fix a typo in debug statement.

---
v2:Address Dan Carpenter's review comments to fold them as a
singl patch rather than sending these two changes as separate patches.

---
 drivers/staging/sm750fb/sm750_accel.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/sm750fb/sm750_accel.c +1 -1
index 6eee4cd..8ea3a61 100644
@@ -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 busy\n");
 		return -1;
 	}
 
Signature · 1 line
1.9.1