nfc: Use standard logging styles
[deliverable/linux.git] / net / nfc / core.c
index 47e02c1b8c02eea81a67f4432e6d45311ba6bd73..03e45714730bbc544c824f6530cc29d6f71448ea 100644 (file)
@@ -21,6 +21,8 @@
  * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  */
 
+#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
+
 #include <linux/init.h>
 #include <linux/kernel.h>
 #include <linux/module.h>
@@ -500,7 +502,7 @@ static int __init nfc_init(void)
 {
        int rc;
 
-       nfc_info("NFC Core ver %s", VERSION);
+       pr_info("NFC Core ver %s\n", VERSION);
 
        rc = class_register(&nfc_class);
        if (rc)
This page took 0.025274 seconds and 5 git commands to generate.