staging:dgnc: Replace printk by pr_warn
authorHimangi Saraogi <himangi774@gmail.com>
Sun, 9 Mar 2014 02:51:13 +0000 (08:21 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 9 Mar 2014 03:21:13 +0000 (19:21 -0800)
commitcf92c9cc89d36197769acc450e7a869861220b3e
tree3a45dfb7c0ee4d5f0caebc9b8ed85b99b2b888e5
parentd2ff1d2067ac382f189eadc1a400b948fd398658
staging:dgnc: Replace printk by pr_warn

This patch replaces printk with pr_warn as the printk calls are used to
display warnings to remove the checkpatch.pl warnings:
WARNING: printk() should include KERN_ facility level
and then WARNING: Prefer netdev_warn(netdev, ... then dev_warn(dev,
... then pr_warn(...  to printk(KERN_WARNING ... on adding KERN_WARNING
message designation.

Signed-off-by: Himangi Saraogi <himangi774@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/dgnc/dgnc_driver.c