phy: Use pr_<level>
Use a more current logging style. Add pr_fmt and missing newlines. Remove embedded prefixes. Neaten phy_print_status to avoid using KERN_CONT. Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
de74e92aa8
commit
8d242488ce
@@ -70,7 +70,7 @@ static int fixed_phy_update_regs(struct fixed_phy *fp)
|
||||
lpa |= LPA_10FULL;
|
||||
break;
|
||||
default:
|
||||
printk(KERN_WARNING "fixed phy: unknown speed\n");
|
||||
pr_warn("fixed phy: unknown speed\n");
|
||||
return -EINVAL;
|
||||
}
|
||||
} else {
|
||||
@@ -90,7 +90,7 @@ static int fixed_phy_update_regs(struct fixed_phy *fp)
|
||||
lpa |= LPA_10HALF;
|
||||
break;
|
||||
default:
|
||||
printk(KERN_WARNING "fixed phy: unknown speed\n");
|
||||
pr_warn("fixed phy: unknown speed\n");
|
||||
return -EINVAL;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user