w1: use pr_* instead of printk
authorFjodor Schelichow <fjodor.schelichow@hotmail.com>
Thu, 19 Jun 2014 00:52:00 +0000 (02:52 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 20 Jun 2014 00:46:51 +0000 (17:46 -0700)
commitfdc9167a7853523647ed0b19d719256c56f1f685
tree431a7d7bbf787fa82ff1f6ac99027d989c3ddd5d
parentea022eac1e297bbf725c1e484726b4c8fb09dd80
w1: use pr_* instead of printk

This patch replaces all calls to the "printk" function within the main "w1"
directory 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>
drivers/w1/w1.c
drivers/w1/w1_family.c
drivers/w1/w1_int.c
drivers/w1/w1_log.h
drivers/w1/w1_netlink.c