]> git.karo-electronics.de Git - linux-beck.git/commit
staging: dgnc_sysfs: Replace printk(KERN_ERR ) with pr_err()
authorIoana Ciornei <ciorneiioana@gmail.com>
Mon, 30 Mar 2015 23:29:35 +0000 (02:29 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 1 Apr 2015 15:37:57 +0000 (17:37 +0200)
commitc471c989addf4d806c62ece60d6cfd6d9ad50c95
tree247c9113eb1d9de6b752f5d40beba106b6b992d9
parent4b80af40ebd61fcaaa9a2326a4ce401b5fe7c103
staging: dgnc_sysfs: Replace printk(KERN_ERR ) with pr_err()

Fix the following checkpatch warning:
WARNING: Prefer [subsystem eg: netdev]_err([subsystem]dev, ...
then dev_err(dev, ... then pr_err(...  to printk(KERN_ERR ...

Signed-off-by: Ioana Ciornei <ciorneiioana@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/dgnc/dgnc_sysfs.c