w1/masters: use pr_* instead of printk
This patch replaces all calls to the "printk" function within the "masters" subdirectory by calls to the appropriate "pr_*" function thus addressing the following warning generated by the checkpatch script: WARNING: Prefer [subsystem eg: netdev]_err([subsystem]dev, ... then dev_err(dev, ... then pr_err(... to printk(KERN_ERR ... Signed-off-by: Fjodor Schelichow <fjodor.schelichow@hotmail.com> Signed-off-by: Roman Sommer <romsom2@yahoo.de> Acked-by: Evgeniy Polyakov <zbr@ioremap.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:

committed by
Greg Kroah-Hartman

parent
fdc9167a78
commit
1fda569090
@@ -563,7 +563,7 @@ static struct platform_driver ds1wm_driver = {
|
||||
|
||||
static int __init ds1wm_init(void)
|
||||
{
|
||||
printk("DS1WM w1 busmaster driver - (c) 2004 Szabolcs Gyurko\n");
|
||||
pr_info("DS1WM w1 busmaster driver - (c) 2004 Szabolcs Gyurko\n");
|
||||
return platform_driver_register(&ds1wm_driver);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user