]> git.karo-electronics.de Git - linux-beck.git/commit
ath: Add and use ath_printk and ath_<level>
authorJoe Perches <joe@perches.com>
Fri, 3 Dec 2010 03:12:35 +0000 (19:12 -0800)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 7 Dec 2010 21:34:39 +0000 (16:34 -0500)
commit21a99f934949807dc0c9dc7642bbf0081b7582f9
tree06411011aa5655d73d809d873d2d80d17842e047
parent0ab82b04ac83a05bda3ef8499f415fc6fd6ee206
ath: Add and use ath_printk and ath_<level>

Add ath_printk and ath_<level> similar to
dev_printk and dev_<level> from device.h

This allows a more gradual rename of ath_print
to to ath_dbg or perhaps ath_debug.

This basically removes debug.h leaving
only an #define ath_printk ath_dbg
there and moving all the ATH_DBG_<foo>
enums to ath.h

I do not think there's much purpose for struct
ath_common * being passed to the ath_printk
functions, but perhaps there might be.

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath.h
drivers/net/wireless/ath/debug.c
drivers/net/wireless/ath/debug.h
drivers/net/wireless/ath/main.c