rt2x00: rt2800pci: use module_pci_driver macro
authorGabor Juhos <juhosg@openwrt.org>
Thu, 17 Oct 2013 07:42:35 +0000 (09:42 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 18 Oct 2013 18:07:00 +0000 (14:07 -0400)
commita1b13b9ad3759dca24c6b721ee026c540a4e6564
treea4bdd4ee371b74d81311c98e03f3131b3b8675dd
parentfe7ef7c60c33fd339f40320fae76bc56d368dae5
rt2x00: rt2800pci: use module_pci_driver macro

Use the module_pci_driver() macro to make the code simpler
by eliminating module_init and module_exit calls.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rt2x00/rt2800pci.c