Skip to content

Commit

Permalink
staging: hv: Replaced printk with pr_info in hv_timesource
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Hank Janssen authored and Greg Kroah-Hartman committed Apr 5, 2011
1 parent af7a5b6 commit d0d6e9c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/staging/hv/hv_timesource.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down Expand Up @@ -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);
}

Expand Down

0 comments on commit d0d6e9c

Please sign in to comment.