aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/nfc/nfcwilink.c
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2013-04-05 15:27:39 -0400
committerSamuel Ortiz <sameo@linux.intel.com>2013-09-24 19:35:39 -0400
commit17936b43f0fdede23582d83a45622751409c99b9 (patch)
tree8ebdbac110d202dc4131165b00d5fd87a5233edc /drivers/nfc/nfcwilink.c
parent073a625f0b80fb7613220a56375b0f3d2831af1b (diff)
NFC: Standardize logging style
Use standardized styles to minimize coding defects. Always use nfc_<level> where feasible. Add \n to formats where appropriate. Typo "it it" correction. Add #define pr_fmt where appropriate. Remove function tracing logging messages. Remove OOM messages. Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/nfc/nfcwilink.c')
-rw-r--r--drivers/nfc/nfcwilink.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/nfc/nfcwilink.c b/drivers/nfc/nfcwilink.c
index ebf6da75bd40..0c79921b3870 100644
--- a/drivers/nfc/nfcwilink.c
+++ b/drivers/nfc/nfcwilink.c
@@ -171,7 +171,7 @@ static int nfcwilink_get_bts_file_name(struct nfcwilink *drv, char *file_name)
171 dev_dbg(&drv->pdev->dev, "wait_for_completion_timeout returned %ld\n", 171 dev_dbg(&drv->pdev->dev, "wait_for_completion_timeout returned %ld\n",
172 comp_ret); 172 comp_ret);
173 if (comp_ret == 0) { 173 if (comp_ret == 0) {
174 dev_err(&drv->pdev->dev, 174 nfc_err(&drv->pdev->dev,
175 "timeout on wait_for_completion_timeout\n"); 175 "timeout on wait_for_completion_timeout\n");
176 return -ETIMEDOUT; 176 return -ETIMEDOUT;
177 } 177 }