1
0

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>
Este cometimento está contido em:
Samuel Ortiz
2013-09-20 16:56:40 +02:00
ascendente c5da0e4a35
cometimento 260425308d
3 ficheiros modificados com 22 adições e 26 eliminações

Ver ficheiro

@@ -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;