pr_info everywhere

This commit is contained in:
Ciro Santilli
2017-07-14 11:30:16 +01:00
parent 1918c4fdfe
commit 0f1fbaf026
8 changed files with 11 additions and 11 deletions

View File

@@ -15,7 +15,7 @@ static int work_func1(void *data)
{
int i = 0;
while (!kthread_should_stop()) {
printk(KERN_INFO "1 %d\n", i);
pr_info("1 %d\n", i);
usleep_range(1000000, 1000001);
i++;
if (i == 10)
@@ -28,7 +28,7 @@ static int work_func2(void *data)
{
int i = 0;
while (!kthread_should_stop()) {
printk(KERN_INFO "2 %d\n", i);
pr_info("2 %d\n", i);
usleep_range(1000000, 1000001);
i++;
if (i == 10)