summaryrefslogtreecommitdiffstats
path: root/net/nfc/digital.h
diff options
context:
space:
mode:
authorSamuel Ortiz <sameo@linux.intel.com>2013-09-20 09:05:48 +0200
committerSamuel Ortiz <sameo@linux.intel.com>2013-09-25 02:02:32 +0200
commitc5da0e4a35eb1eba0c1593bef4bf2b58d9d50d6b (patch)
tree105725b6dfa76a4deffd6fce0cc4d7b2b0361a3c /net/nfc/digital.h
parent645d5087bd9667ed398bcb4bfd8784e1de1ee693 (diff)
downloadlinux-c5da0e4a35eb1eba0c1593bef4bf2b58d9d50d6b.tar.gz
linux-c5da0e4a35eb1eba0c1593bef4bf2b58d9d50d6b.tar.bz2
linux-c5da0e4a35eb1eba0c1593bef4bf2b58d9d50d6b.zip
NFC: digital: Remove PR_ERR and PR_DBG macros
They can be replaced by the standard pr_err and pr_debug one after defining the right pr_fmt macro. Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'net/nfc/digital.h')
-rw-r--r--net/nfc/digital.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/net/nfc/digital.h b/net/nfc/digital.h
index 586075a3feed..08b29b55ea63 100644
--- a/net/nfc/digital.h
+++ b/net/nfc/digital.h
@@ -22,10 +22,8 @@
#include <linux/crc-ccitt.h>
#include <linux/crc-itu-t.h>
-#define PR_DBG(fmt, ...) pr_debug("%s: " fmt "\n", __func__, ##__VA_ARGS__)
-#define PR_ERR(fmt, ...) pr_err("%s: " fmt "\n", __func__, ##__VA_ARGS__)
-#define PROTOCOL_ERR(req) pr_err("%s:%d: NFC Digital Protocol error: %s\n", \
- __func__, __LINE__, req)
+#define PROTOCOL_ERR(req) pr_err("%d: NFC Digital Protocol error: %s\n", \
+ __LINE__, req)
#define DIGITAL_CMD_IN_SEND 0
#define DIGITAL_CMD_TG_SEND 1