aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/wlags49_h2/wl_netdev.c
diff options
context:
space:
mode:
authorDavid Kilroy <kilroyd@googlemail.com>2011-10-01 09:43:48 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2011-10-04 10:41:06 -0700
commit8bf90539d672090f725b6a5456f3898a602be193 (patch)
tree963216d79d3a7ca07d77226e0808f5bfcb1259bd /drivers/staging/wlags49_h2/wl_netdev.c
parentStaging: hv: mousevsc: Get rid of unnecessary comments (diff)
downloadlinux-dev-8bf90539d672090f725b6a5456f3898a602be193.tar.xz
linux-dev-8bf90539d672090f725b6a5456f3898a602be193.zip
staging: wlags49_h2: Use C99 __func__
in DBG machinery so you don't have to declare DBG_FUNC at the start of all functions. This just makes it easy to add DBG conforming to existing code. The patch reformats the changed #defines to satisfy checkstyle.pl Signed-off-by: David Kilroy <kilroyd@googlemail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/wlags49_h2/wl_netdev.c')
-rw-r--r--drivers/staging/wlags49_h2/wl_netdev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/wlags49_h2/wl_netdev.c b/drivers/staging/wlags49_h2/wl_netdev.c
index cf917e613f22..1c9d4d0626f9 100644
--- a/drivers/staging/wlags49_h2/wl_netdev.c
+++ b/drivers/staging/wlags49_h2/wl_netdev.c
@@ -217,7 +217,7 @@ int wl_config( struct net_device *dev, struct ifmap *map )
/* The only thing we care about here is a port change. Since this not needed,
ignore the request. */
- DBG_TRACE( DbgInfo, "%s: %s called.\n", dev->name, __FUNC__ );
+ DBG_TRACE(DbgInfo, "%s: %s called.\n", dev->name, __func__);
DBG_LEAVE( DbgInfo );
return 0;