Skip to content
Commit ea022eac authored by Fjodor Schelichow's avatar Fjodor Schelichow Committed by Greg Kroah-Hartman
Browse files

w1/slaves: use pr_* instead of printk



This patch replaces all calls to the "printk" function within the "slaves"
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: default avatarFjodor Schelichow <fjodor.schelichow@hotmail.com>
Signed-off-by: default avatarRoman Sommer <romsom2@yahoo.de>
Acked-by: default avatarEvgeniy Polyakov <zbr@ioremap.net>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 94859308
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment