Commit d670333e authored by Chetan Sethi's avatar Chetan Sethi Committed by Greg Kroah-Hartman

staging: ks7010: fix coding style issue of using __func__ instead of __FUNCTION__

This patch fixes coding style issue of using __func__ instead of gcc
specific __FUNCTION__, warning as issued by checkpatch
Signed-off-by: default avatarChetan Sethi <cpsethi369@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 1227d769
...@@ -38,7 +38,7 @@ ...@@ -38,7 +38,7 @@
#define DPRINTK(n, fmt, args...) \ #define DPRINTK(n, fmt, args...) \
do { \ do { \
if (KS_WLAN_DEBUG > (n)) \ if (KS_WLAN_DEBUG > (n)) \
pr_notice("%s: "fmt, __FUNCTION__, ## args); \ pr_notice("%s: "fmt, __func__, ## args); \
} while (0) } while (0)
#else #else
#define DPRINTK(n, fmt, args...) #define DPRINTK(n, fmt, args...)
......
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