summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHank Janssen <hjanssen@microsoft.com>2011-03-29 20:58:50 (GMT)
committerGreg Kroah-Hartman <gregkh@suse.de>2011-04-05 05:03:08 (GMT)
commitd0d6e9c8f5ae4749d8010851e4ed10b6fb759c20 (patch)
tree523ca72ff2c27526e3c5dc8ea74a38ad95eaa120
parentaf7a5b6e598c936476fe8dcfaa09d1c7d7e1b165 (diff)
downloadlinux-d0d6e9c8f5ae4749d8010851e4ed10b6fb759c20.tar.xz
staging: hv: Replaced printk with pr_info in hv_timesource
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>
-rw-r--r--drivers/staging/hv/hv_timesource.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/staging/hv/hv_timesource.c b/drivers/staging/hv/hv_timesource.c
index a7ee5333..0efb049 100644
--- a/drivers/staging/hv/hv_timesource.c
+++ b/drivers/staging/hv/hv_timesource.c
@@ -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);
}