rt2800: introduce wpdma_disable function
authorJakub Kicinski <kubakici@wp.pl>
Tue, 3 Apr 2012 01:40:47 +0000 (03:40 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 13 Apr 2012 18:32:47 +0000 (14:32 -0400)
commitf7b395e9f898313c2add740af04361e59b06e68b
treec8bfba646d19807fbc9df8a707233b749722560c
parent5f5460706e5feaef286aacce37647f7e57d026e4
rt2800: introduce wpdma_disable function

Introduce wpdma_disable function to simplify the code.

Signed-off-by: Jakub Kicinski <kubakici@wp.pl>
Reviewed-by: Stanislaw Gruszka <sgruszka@redhat.com>
Acked-by: Gertjan van Wingerde <gwingerde@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rt2x00/rt2800lib.c
drivers/net/wireless/rt2x00/rt2800lib.h
drivers/net/wireless/rt2x00/rt2800pci.c