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:

gecommit door
Greg Kroah-Hartman

bovenliggende
fdc9167a78
commit
1fda569090
@@ -226,7 +226,7 @@ static int ds2482_wait_1wire_idle(struct ds2482_data *pdev)
|
||||
}
|
||||
|
||||
if (retries >= DS2482_WAIT_IDLE_TIMEOUT)
|
||||
printk(KERN_ERR "%s: timeout on channel %d\n",
|
||||
pr_err("%s: timeout on channel %d\n",
|
||||
__func__, pdev->channel);
|
||||
|
||||
return temp;
|
||||
|
Verwijs in nieuw issue
Block a user