diff options
author | Samuel Ortiz <sameo@linux.intel.com> | 2013-09-20 03:05:48 -0400 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2013-09-24 20:02:32 -0400 |
commit | c5da0e4a35eb1eba0c1593bef4bf2b58d9d50d6b (patch) | |
tree | 105725b6dfa76a4deffd6fce0cc4d7b2b0361a3c /net/nfc/digital.h | |
parent | 645d5087bd9667ed398bcb4bfd8784e1de1ee693 (diff) |
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.h | 6 |
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 @@ | |||
22 | #include <linux/crc-ccitt.h> | 22 | #include <linux/crc-ccitt.h> |
23 | #include <linux/crc-itu-t.h> | 23 | #include <linux/crc-itu-t.h> |
24 | 24 | ||
25 | #define PR_DBG(fmt, ...) pr_debug("%s: " fmt "\n", __func__, ##__VA_ARGS__) | 25 | #define PROTOCOL_ERR(req) pr_err("%d: NFC Digital Protocol error: %s\n", \ |
26 | #define PR_ERR(fmt, ...) pr_err("%s: " fmt "\n", __func__, ##__VA_ARGS__) | 26 | __LINE__, req) |
27 | #define PROTOCOL_ERR(req) pr_err("%s:%d: NFC Digital Protocol error: %s\n", \ | ||
28 | __func__, __LINE__, req) | ||
29 | 27 | ||
30 | #define DIGITAL_CMD_IN_SEND 0 | 28 | #define DIGITAL_CMD_IN_SEND 0 |
31 | #define DIGITAL_CMD_TG_SEND 1 | 29 | #define DIGITAL_CMD_TG_SEND 1 |