diff options
author | Joe Perches <joe@perches.com> | 2015-04-07 00:17:00 -0700 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2015-04-07 12:05:12 +0200 |
commit | 3590ebc040c9ee5d06754ce926f0e7c3a595e46d (patch) | |
tree | 62d4e1160321ab1d8172e780280232311e4cd5e3 /drivers/nfc/pn533.c | |
parent | 5df848f37b1d20e5dd64bea16ba9f69ed321e11b (diff) | |
download | linux-stable-3590ebc040c9ee5d06754ce926f0e7c3a595e46d.tar.gz linux-stable-3590ebc040c9ee5d06754ce926f0e7c3a595e46d.tar.bz2 linux-stable-3590ebc040c9ee5d06754ce926f0e7c3a595e46d.zip |
NFC: logging neatening
Add missing terminating newlines to nfc_info and nfc_err
to avoid possible interleaving from other messages.
Miscellanea:
o typo fix of "unknonwn" in message
o remove unnecessary OOM messages as there's a generic dump_stack()
o realign arguments
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/nfc/pn533.c')
-rw-r--r-- | drivers/nfc/pn533.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/nfc/pn533.c b/drivers/nfc/pn533.c index 732e6075da62..a03e4eb5fe29 100644 --- a/drivers/nfc/pn533.c +++ b/drivers/nfc/pn533.c @@ -1820,7 +1820,7 @@ static int pn533_rf_complete(struct pn533 *dev, void *arg, if (IS_ERR(resp)) { rc = PTR_ERR(resp); - nfc_err(&dev->interface->dev, "RF setting error %d", rc); + nfc_err(&dev->interface->dev, "RF setting error %d\n", rc); return rc; } |