OSDN Git Service

staging: wlan-ng: use netdev_() instead of printk()
authorVitaly Osipov <vitaly.osipov@gmail.com>
Sun, 18 May 2014 06:59:36 +0000 (16:59 +1000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 23 May 2014 17:08:16 +0000 (02:08 +0900)
commit02d9b1eb4b21b9309efdf8c8aee023a59d3f76e0
treee741eb880642e5dce3d7d885d0ce2be497fb7913
parent79f9e634cc8312790d9674ea1faa998ea9cacfee
staging: wlan-ng: use netdev_() instead of printk()

Replaced all uses of printk() in wlan-ng with netdev_err / _warn
where a netdev exists. If a few cases where a netdev does not yet
exist, dev_ or pr_ was used.

Checkpatch complains about lines over 80 chars or split string
constants - the messages are just too long, keeping it completely
happy would make the code less readable.

Signed-off-by: Vitaly Osipov <vitaly.osipov@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wlan-ng/p80211conv.c
drivers/staging/wlan-ng/p80211req.c
drivers/staging/wlan-ng/prism2fw.c
drivers/staging/wlan-ng/prism2mgmt.c
drivers/staging/wlan-ng/prism2mib.c
drivers/staging/wlan-ng/prism2sta.c