summaryrefslogtreecommitdiffstats
path: root/net/nfc/digital_technology.c
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_technology.c
parent645d5087bd9667ed398bcb4bfd8784e1de1ee693 (diff)
downloadlinux-c5da0e4a35eb1eba0c1593bef4bf2b58d9d50d6b.tar.bz2
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_technology.c')
-rw-r--r--net/nfc/digital_technology.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/net/nfc/digital_technology.c b/net/nfc/digital_technology.c
index 564735fbbd8f..5a13e1bb1e68 100644
--- a/net/nfc/digital_technology.c
+++ b/net/nfc/digital_technology.c
@@ -13,6 +13,8 @@
*
*/
+#define pr_fmt(fmt) "digital: %s: " fmt, __func__
+
#include "digital.h"
#define DIGITAL_CMD_SENS_REQ 0x26
@@ -258,7 +260,7 @@ static int digital_in_send_sdd_req(struct nfc_digital_dev *ddev,
skb = digital_skb_alloc(ddev, 2);
if (!skb) {
- PR_ERR("alloc_skb failed");
+ pr_err("alloc_skb failed");
return -ENOMEM;
}