diff options
author | Joe Perches <joe@perches.com> | 2011-11-29 14:37:32 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-11-30 15:08:36 -0500 |
commit | ed1e0ad8816389ceefa2d94a9a3d3520088e410f (patch) | |
tree | bb15b4ed37d9e43f8ac1501f9fac26a808a36c22 /net/nfc/core.c | |
parent | acda130b0e615596c63640f05febb02d2e681dde (diff) |
nfc: Use standard logging styles
Using the normal logging styles is preferred over
subsystem specific styles when the subsystem does
not take a specific struct.
Convert nfc_<level> specific messages to pr_<level>
Add newlines to uses.
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/nfc/core.c')
-rw-r--r-- | net/nfc/core.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/net/nfc/core.c b/net/nfc/core.c index 47e02c1b8c02..03e45714730b 100644 --- a/net/nfc/core.c +++ b/net/nfc/core.c | |||
@@ -21,6 +21,8 @@ | |||
21 | * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | 21 | * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
22 | */ | 22 | */ |
23 | 23 | ||
24 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt | ||
25 | |||
24 | #include <linux/init.h> | 26 | #include <linux/init.h> |
25 | #include <linux/kernel.h> | 27 | #include <linux/kernel.h> |
26 | #include <linux/module.h> | 28 | #include <linux/module.h> |
@@ -500,7 +502,7 @@ static int __init nfc_init(void) | |||
500 | { | 502 | { |
501 | int rc; | 503 | int rc; |
502 | 504 | ||
503 | nfc_info("NFC Core ver %s", VERSION); | 505 | pr_info("NFC Core ver %s\n", VERSION); |
504 | 506 | ||
505 | rc = class_register(&nfc_class); | 507 | rc = class_register(&nfc_class); |
506 | if (rc) | 508 | if (rc) |