aboutsummaryrefslogtreecommitdiffstats
path: root/net/nfc/digital_technology.c
diff options
context:
space:
mode:
authorSamuel Ortiz <sameo@linux.intel.com>2013-09-20 16:56:40 +0200
committerSamuel Ortiz <sameo@linux.intel.com>2013-09-25 02:02:34 +0200
commit260425308de63155a087361d961dafd2dd45e275 (patch)
treee403eed69452931025585b4584a84f7c880b5115 /net/nfc/digital_technology.c
parentNFC: digital: Remove PR_ERR and PR_DBG macros (diff)
downloadlinux-dev-260425308de63155a087361d961dafd2dd45e275.tar.xz
linux-dev-260425308de63155a087361d961dafd2dd45e275.zip
NFC: digital: Add newline to pr_* calls
We do not add the newline to the pr_fmt macro, in order to give more flexibility to the caller and to keep the logging style consistent with the rest of the NFC and kernel code. 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, 1 insertions, 3 deletions
diff --git a/net/nfc/digital_technology.c b/net/nfc/digital_technology.c
index 5a13e1bb1e68..bcdb73eaf945 100644
--- a/net/nfc/digital_technology.c
+++ b/net/nfc/digital_technology.c
@@ -259,10 +259,8 @@ static int digital_in_send_sdd_req(struct nfc_digital_dev *ddev,
return rc;
skb = digital_skb_alloc(ddev, 2);
- if (!skb) {
- pr_err("alloc_skb failed");
+ if (!skb)
return -ENOMEM;
- }
if (target->nfcid1_len == 0)
sel_cmd = DIGITAL_CMD_SEL_REQ_CL1;