Staging: rtl8192u: ieee80211: Use netdev_info instead of printk
authorGeorgiana Chelu <georgiana.chelu93@gmail.com>
Tue, 19 Sep 2017 19:54:06 +0000 (22:54 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 22 Sep 2017 08:53:45 +0000 (10:53 +0200)
commiteb05448d08f408fcb1fec4c9f85cda17ddbc2e43
tree519a56ae9f581a1b56a9fc2d391ae72c3a07db54
parentc3eec59659cf25916647d2178c541302bb4822ad
Staging: rtl8192u: ieee80211: Use netdev_info instead of printk

Replace printk with netdev_info because struct ieee80211_device
contains a net_device structure.

Issue found by checkpatch.pl script.
WARNING: Prefer [subsystem eg: netdev]_info([subsystem]dev, ... then
dev_info(dev, ... then pr_info(...  to printk(KERN_INFO ...

Signed-off-by: Georgiana Chelu <georgiana.chelu93@example.com>
Acked-by: Julia Lawall <julia.lawall@lip6.fr>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192u/ieee80211/rtl819x_BAProc.c