]> git.karo-electronics.de Git - linux-beck.git/commitdiff
staging: sm750fb: remove redundant __func__ in debug statement
authorHari Prasath Gujulan Elango <hgujulan@visteon.com>
Wed, 24 Jun 2015 16:51:21 +0000 (16:51 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 15 Jul 2015 01:28:02 +0000 (18:28 -0700)
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.

Signed-off-by: Hari Prasath Gujulan Elango <hgujulan@visteon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/sm750fb/sm750_accel.c

index 6eee4cd582d1ba2e2c1cbdcb66e157600edc5835..8ea3a61ba37cc70597d3d475b37eb46e99b8bcea 100644 (file)
@@ -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;
        }