diff options
author | Samuel Ortiz <sameo@linux.intel.com> | 2013-09-20 10:56:40 -0400 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2013-09-24 20:02:34 -0400 |
commit | 260425308de63155a087361d961dafd2dd45e275 (patch) | |
tree | e403eed69452931025585b4584a84f7c880b5115 /net/nfc/digital_dep.c | |
parent | c5da0e4a35eb1eba0c1593bef4bf2b58d9d50d6b (diff) |
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_dep.c')
-rw-r--r-- | net/nfc/digital_dep.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/net/nfc/digital_dep.c b/net/nfc/digital_dep.c index 15f140ae9099..07bbc24fb4c7 100644 --- a/net/nfc/digital_dep.c +++ b/net/nfc/digital_dep.c | |||
@@ -315,7 +315,7 @@ static void digital_in_recv_dep_res(struct nfc_digital_dev *ddev, void *arg, | |||
315 | break; | 315 | break; |
316 | 316 | ||
317 | case DIGITAL_NFC_DEP_PFB_ACK_NACK_PDU: | 317 | case DIGITAL_NFC_DEP_PFB_ACK_NACK_PDU: |
318 | pr_err("Received a ACK/NACK PDU"); | 318 | pr_err("Received a ACK/NACK PDU\n"); |
319 | rc = -EIO; | 319 | rc = -EIO; |
320 | goto error; | 320 | goto error; |
321 | 321 | ||
@@ -334,7 +334,7 @@ static void digital_in_recv_dep_res(struct nfc_digital_dev *ddev, void *arg, | |||
334 | } | 334 | } |
335 | 335 | ||
336 | if (DIGITAL_NFC_DEP_MI_BIT_SET(pfb)) { | 336 | if (DIGITAL_NFC_DEP_MI_BIT_SET(pfb)) { |
337 | pr_err("MI bit set. Chained PDU not supported."); | 337 | pr_err("MI bit set. Chained PDU not supported\n"); |
338 | rc = -EIO; | 338 | rc = -EIO; |
339 | goto error; | 339 | goto error; |
340 | } | 340 | } |
@@ -426,16 +426,16 @@ static void digital_tg_recv_dep_req(struct nfc_digital_dev *ddev, void *arg, | |||
426 | 426 | ||
427 | switch (DIGITAL_NFC_DEP_PFB_TYPE(dep_req->pfb)) { | 427 | switch (DIGITAL_NFC_DEP_PFB_TYPE(dep_req->pfb)) { |
428 | case DIGITAL_NFC_DEP_PFB_I_PDU: | 428 | case DIGITAL_NFC_DEP_PFB_I_PDU: |
429 | pr_debug("DIGITAL_NFC_DEP_PFB_I_PDU"); | 429 | pr_debug("DIGITAL_NFC_DEP_PFB_I_PDU\n"); |
430 | ddev->curr_nfc_dep_pni = DIGITAL_NFC_DEP_PFB_PNI(dep_req->pfb); | 430 | ddev->curr_nfc_dep_pni = DIGITAL_NFC_DEP_PFB_PNI(dep_req->pfb); |
431 | break; | 431 | break; |
432 | case DIGITAL_NFC_DEP_PFB_ACK_NACK_PDU: | 432 | case DIGITAL_NFC_DEP_PFB_ACK_NACK_PDU: |
433 | pr_err("Received a ACK/NACK PDU"); | 433 | pr_err("Received a ACK/NACK PDU\n"); |
434 | rc = -EINVAL; | 434 | rc = -EINVAL; |
435 | goto exit; | 435 | goto exit; |
436 | break; | 436 | break; |
437 | case DIGITAL_NFC_DEP_PFB_SUPERVISOR_PDU: | 437 | case DIGITAL_NFC_DEP_PFB_SUPERVISOR_PDU: |
438 | pr_err("Received a SUPERVISOR PDU"); | 438 | pr_err("Received a SUPERVISOR PDU\n"); |
439 | rc = -EINVAL; | 439 | rc = -EINVAL; |
440 | goto exit; | 440 | goto exit; |
441 | break; | 441 | break; |
@@ -563,7 +563,7 @@ static void digital_tg_recv_psl_req(struct nfc_digital_dev *ddev, void *arg, | |||
563 | rf_tech = NFC_DIGITAL_RF_TECH_424F; | 563 | rf_tech = NFC_DIGITAL_RF_TECH_424F; |
564 | break; | 564 | break; |
565 | default: | 565 | default: |
566 | pr_err("Unsuported dsi value %d", dsi); | 566 | pr_err("Unsuported dsi value %d\n", dsi); |
567 | goto exit; | 567 | goto exit; |
568 | } | 568 | } |
569 | 569 | ||