staging: rtl8192u: r8192U_wx: use netdev_warn() instead of printk()
authorLourdes Pedrajas <lu@pplo.net>
Tue, 17 Mar 2020 16:59:17 +0000 (17:59 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 18 Mar 2020 10:12:49 +0000 (11:12 +0100)
commiteac7ac5c736f9102482072204e2b8f1919dce4f8
tree301b825f0b53c68c78a70e8ab5ac24ca64fa8414
parentba839b32d6f76a68919ed838e9375c47ca05a91a
staging: rtl8192u: r8192U_wx: use netdev_warn() instead of printk()

printk() is deprecated, use netdev_warn() instead, which is a message printing
function specific for network devices.
Issue found by checkpatch.

Suggested-by: Julia Lawall <julia.lawall@inria.fr>
Suggested-by: Stefano Brivio <sbrivio@redhat.com>
Signed-off-by: Lourdes Pedrajas <lu@pplo.net>
Link: https://lore.kernel.org/r/20200317165917.6260-1-lu@pplo.net
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192u/r8192U_wx.c