]> git.karo-electronics.de Git - mv-sheeva.git/commitdiff
staging: hv: Replaced printk with pr_info in hv_timesource
authorHank Janssen <hjanssen@microsoft.com>
Tue, 29 Mar 2011 20:58:50 +0000 (13:58 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 5 Apr 2011 05:03:08 +0000 (22:03 -0700)
Replaced printk in hv_timesource with pr_ calls

Signed-off-by: Hank Janssen <hjanssen@microsoft.com>
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/hv/hv_timesource.c

index a7ee533303b4f97dba9c2b2e78c2d81e148726c4..0efb04915255dfb7a9d8544154922b2ce8704199 100644 (file)
@@ -20,6 +20,7 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  *
  */
+#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
 
 #include <linux/version.h>
 #include <linux/clocksource.h>
@@ -91,7 +92,7 @@ static int __init init_hv_clocksource(void)
        if (!dmi_check_system(hv_timesource_dmi_table))
                return -ENODEV;
 
-       printk(KERN_INFO "Registering HyperV clock source\n");
+       pr_info("Registering HyperV clock source\n");
        return clocksource_register(&hyperv_cs);
 }