Staging: hp: Use netdev_warn().
authorSam Muhammed <jane.pnx9@gmail.com>
Sun, 22 Mar 2020 11:50:51 +0000 (07:50 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 23 Mar 2020 10:41:02 +0000 (11:41 +0100)
commitbb351cf437f586ee90ce66ccc4a23da25a3b2364
tree6d12b6125a32fbf3f0594975d59b95df978decc7
parent38ef48f7d4b7342f145a1b4f96023bde99aeb245
Staging: hp: Use netdev_warn().

This replaces printk(KERN_WARNING ..) with netdev_warn(),
as the use of printk() isn't preferred when
a struct net_device is available.

Signed-off-by: Sam Muhammed <jane.pnx9@gmail.com>
Acked-by: Julia Lawall <julia.lawall@inria.fr>
Link: https://lore.kernel.org/r/20200322115051.2767-1-jane.pnx9@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/hp/hp100.c