summaryrefslogtreecommitdiff
path: root/drivers/net/ehea/ehea.h
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2010-12-13 21:05:14 +0300
committerDavid S. Miller <davem@davemloft.net>2010-12-13 21:05:14 +0300
commit8c4877a4128e7931077b024a891a4b284d8756a3 (patch)
treeeae8569651f3383abfa7c6a3789cd7c563f92346 /drivers/net/ehea/ehea.h
parent323e126f0c5995f779d7df7fd035f6e8fed8764d (diff)
downloadlinux-8c4877a4128e7931077b024a891a4b284d8756a3.tar.xz
ehea: Use the standard logging functions
Remove ehea_error, ehea_info and ehea_debug macros. Use pr_fmt, pr_<level>, netdev_<level> and netif_<level> as appropriate. Fix messages to use trailing "\n", some messages had an extra one as the old ehea_<level> macros added a trailing "\n". Coalesced long format strings. Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Breno Leitao <leitao@linux.vnet.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ehea/ehea.h')
-rw-r--r--drivers/net/ehea/ehea.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/drivers/net/ehea/ehea.h b/drivers/net/ehea/ehea.h
index 1f2a675649b7..a724a2d14506 100644
--- a/drivers/net/ehea/ehea.h
+++ b/drivers/net/ehea/ehea.h
@@ -130,19 +130,6 @@
/* utility functions */
-#define ehea_info(fmt, args...) \
- printk(KERN_INFO DRV_NAME ": " fmt "\n", ## args)
-
-#define ehea_error(fmt, args...) \
- printk(KERN_ERR DRV_NAME ": Error in %s: " fmt "\n", __func__, ## args)
-
-#ifdef DEBUG
-#define ehea_debug(fmt, args...) \
- printk(KERN_DEBUG DRV_NAME ": " fmt, ## args)
-#else
-#define ehea_debug(fmt, args...) do {} while (0)
-#endif
-
void ehea_dump(void *adr, int len, char *msg);
#define EHEA_BMASK(pos, length) (((pos) << 16) + (length))